file.c File Reference

#include "routix/system.h"
#include "string.h"
#include "drivers/fat.h"
#include "routix/paging.h"
#include "routix/kalloc.h"
#include <routix/kstdio.h>
#include "routix/file.h"
#include "routix/task.h"
#include <drivers/floppy.h>
#include <fs/blockcache.h>
#include <error.h>

Go to the source code of this file.

Defines

Functions

Variables


Define Documentation

#define RUNSTATS   1
 

Definition at line 14 of file file.c.


Function Documentation

int close int  fd  ) 
 

Definition at line 177 of file file.c.

Referenced by invoke(), main(), sys_exec(), and sys_execve().

int lseek int  fd,
int  offset,
int  donde
 

Definition at line 123 of file file.c.

Referenced by read(), sys_exec(), and sys_execve().

int open char *  nombre  ) 
 

Definition at line 44 of file file.c.

Referenced by sys_exec(), and sys_execve().

int open_FAT12 char *  nombre,
int  fd
 

Definition at line 88 of file file.c.

Referenced by open().

ssize_t read int  fd,
void *  buf,
size_t  nbytes
 

Definition at line 239 of file file.c.

Referenced by sys_exec(), and sys_execve().


Variable Documentation

task_struct_t* actual
 

Definition at line 42 of file file.c.

dev_fat_t dev_fat[0]
 

Definition at line 18 of file file.c.

Referenced by fat_12(), fat_file_find(), fat_next_sector(), fat_root_dir(), fat_test(), init_floppy_fs(), levantar_fat(), open_FAT12(), print_fat_info(), and tarea_init().

dword file_descriptor_actual = 1
 

Definition at line 32 of file file.c.

file_opened_t * header_archivos_abiertos = NULL
 

Definition at line 27 of file file.c.


Generated on Sun May 30 18:38:36 2004 for Routix OS by doxygen 1.3.6