PS2SDK
PS2 Homebrew Libraries
|
#include <sys/fcntl.h>
#include <sys/unistd.h>
Go to the source code of this file.
Data Structures | |
struct | io_stat_t |
struct | io_dirent_t |
Macros | |
#define | FIO_O_RDONLY 0x0001 |
#define | FIO_O_WRONLY 0x0002 |
#define | FIO_O_RDWR 0x0003 |
#define | FIO_O_DIROPEN 0x0008 |
#define | FIO_O_NBLOCK 0x0010 |
#define | FIO_O_APPEND 0x0100 |
#define | FIO_O_CREAT 0x0200 |
#define | FIO_O_TRUNC 0x0400 |
#define | FIO_O_EXCL 0x0800 |
#define | FIO_O_NOWAIT 0x8000 |
#define | FIO_MT_RDWR 0x00 |
#define | FIO_MT_RDONLY 0x01 |
#define | FIO_SEEK_SET 0 |
#define | FIO_SEEK_CUR 1 |
#define | FIO_SEEK_END 2 |
Shared IO structures and definitions
Definition in file io_common.h.
struct io_stat_t |
Definition at line 47 of file io_common.h.
Data Fields | ||
---|---|---|
unsigned int | mode | |
unsigned int | attr | |
unsigned int | size | |
unsigned char | ctime[8] | |
unsigned char | atime[8] | |
unsigned char | mtime[8] | |
unsigned int | hisize |
struct io_dirent_t |
Definition at line 58 of file io_common.h.
Data Fields | ||
---|---|---|
io_stat_t | stat | |
char | name[256] | |
void * | privdata |
#define FIO_O_RDONLY 0x0001 |
Definition at line 29 of file io_common.h.
#define FIO_O_WRONLY 0x0002 |
Definition at line 30 of file io_common.h.
#define FIO_O_RDWR 0x0003 |
Definition at line 31 of file io_common.h.
#define FIO_O_DIROPEN 0x0008 |
Definition at line 32 of file io_common.h.
#define FIO_O_NBLOCK 0x0010 |
Definition at line 33 of file io_common.h.
#define FIO_O_APPEND 0x0100 |
Definition at line 34 of file io_common.h.
#define FIO_O_CREAT 0x0200 |
Definition at line 35 of file io_common.h.
#define FIO_O_TRUNC 0x0400 |
Definition at line 36 of file io_common.h.
#define FIO_O_EXCL 0x0800 |
Definition at line 37 of file io_common.h.
#define FIO_O_NOWAIT 0x8000 |
Definition at line 38 of file io_common.h.
#define FIO_MT_RDWR 0x00 |
Definition at line 40 of file io_common.h.
#define FIO_MT_RDONLY 0x01 |
Definition at line 41 of file io_common.h.
#define FIO_SEEK_SET 0 |
Definition at line 43 of file io_common.h.
#define FIO_SEEK_CUR 1 |
Definition at line 44 of file io_common.h.
#define FIO_SEEK_END 2 |
Definition at line 45 of file io_common.h.