ps2sdk  1.1
A collection of Open Source libraries used for developing applications on Sony's PlayStation 2® (PS2).
io_common.h File Reference
#include <sys/fcntl.h>
#include <sys/unistd.h>
+ Include dependency graph for io_common.h:
+ This graph shows which files directly or indirectly include this file:

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
 

Detailed Description

Shared IO structures and definitions

Definition in file io_common.h.

Macro Definition Documentation

◆ FIO_MT_RDONLY

#define FIO_MT_RDONLY   0x01

Definition at line 41 of file io_common.h.

◆ FIO_MT_RDWR

#define FIO_MT_RDWR   0x00

Definition at line 40 of file io_common.h.

◆ FIO_O_APPEND

#define FIO_O_APPEND   0x0100

Definition at line 34 of file io_common.h.

◆ FIO_O_CREAT

#define FIO_O_CREAT   0x0200

Definition at line 35 of file io_common.h.

◆ FIO_O_DIROPEN

#define FIO_O_DIROPEN   0x0008

Definition at line 32 of file io_common.h.

◆ FIO_O_EXCL

#define FIO_O_EXCL   0x0800

Definition at line 37 of file io_common.h.

◆ FIO_O_NBLOCK

#define FIO_O_NBLOCK   0x0010

Definition at line 33 of file io_common.h.

◆ FIO_O_NOWAIT

#define FIO_O_NOWAIT   0x8000

Definition at line 38 of file io_common.h.

◆ FIO_O_RDONLY

#define FIO_O_RDONLY   0x0001

Definition at line 29 of file io_common.h.

◆ FIO_O_RDWR

#define FIO_O_RDWR   0x0003

Definition at line 31 of file io_common.h.

◆ FIO_O_TRUNC

#define FIO_O_TRUNC   0x0400

Definition at line 36 of file io_common.h.

◆ FIO_O_WRONLY

#define FIO_O_WRONLY   0x0002

Definition at line 30 of file io_common.h.

◆ FIO_SEEK_CUR

#define FIO_SEEK_CUR   1

Definition at line 44 of file io_common.h.

◆ FIO_SEEK_END

#define FIO_SEEK_END   2

Definition at line 45 of file io_common.h.

◆ FIO_SEEK_SET

#define FIO_SEEK_SET   0

Definition at line 43 of file io_common.h.