file.h File Reference

#include "routix/system.h"
#include "drivers/fat.h"

Go to the source code of this file.

Classes

Defines

Typedefs

Functions


Define Documentation

#define DRIVE_0   0
 

Definition at line 36 of file file.h.

#define FAT12   0
 

Definition at line 37 of file file.h.

Referenced by open().

#define MAX_FILES_POR_TAREA   5
 

Definition at line 51 of file file.h.

Referenced by init_new_task(), open(), and sys_exit_fs().

#define SEEK_CUR   1
 

Definition at line 32 of file file.h.

Referenced by lseek(), and read().

#define SEEK_END   3
 

Definition at line 34 of file file.h.

Referenced by lseek().

#define SEEK_SET   2
 

Definition at line 33 of file file.h.

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


Typedef Documentation

typedef struct file_opened_t file_opened_t
 


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().

ssize_t read int  fd,
void *  buf,
size_t  len
 

Definition at line 239 of file file.c.

Referenced by sys_exec(), and sys_execve().


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