PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
fileio.h File Reference
#include <io_common.h>
+ Include dependency graph for fileio.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define FIO_WAIT   0
 
#define FIO_NOWAIT   1
 
#define FIO_COMPLETE   1
 
#define FIO_INCOMPLETE   0
 
#define EOF   (-1)
 

Functions

int fioInit (void)
 
void fioExit (void)
 
int fioOpen (const char *fname, int mode)
 
int fioClose (int fd)
 
int fioRead (int fd, void *buff, int buff_size)
 
int fioWrite (int fd, const void *buff, int buff_size)
 
int fioLseek (int fd, int offset, int whence)
 
int fioMkdir (const char *dirname)
 
int fioPutc (int fd, int c)
 
int fioGetc (int fd)
 
int fioGets (int fd, char *buff, int n)
 
void fioSetBlockMode (int blocking)
 
int fioSync (int mode, int *retVal)
 
int fioIoctl (int fd, int request, void *data)
 
int fioDopen (const char *name)
 
int fioDclose (int fd)
 
int fioDread (int fd, io_dirent_t *buf)
 
int fioGetstat (const char *name, io_stat_t *buf)
 
int fioChstat (const char *name, io_stat_t *buf, unsigned int cbit)
 
int fioRemove (const char *name)
 
int fioFormat (const char *name)
 
int fioRmdir (const char *dirname)
 

Detailed Description

EE FILE IO handling

Definition in file fileio.h.

Macro Definition Documentation

◆ FIO_WAIT

#define FIO_WAIT   0

Definition at line 27 of file fileio.h.

◆ FIO_NOWAIT

#define FIO_NOWAIT   1

Definition at line 28 of file fileio.h.

◆ FIO_COMPLETE

#define FIO_COMPLETE   1

Definition at line 30 of file fileio.h.

◆ FIO_INCOMPLETE

#define FIO_INCOMPLETE   0

Definition at line 31 of file fileio.h.

◆ EOF

#define EOF   (-1)

Definition at line 33 of file fileio.h.