27int open(
const char *name,
int mode);
29int read(
int fd,
void *ptr,
size_t size);
30int write(
int fd,
void *ptr,
size_t size);
31int lseek(
int fd,
int pos,
int mode);
32int ioctl(
int fd,
int command,
void *arg);
33int remove(
const char *name);
34int mkdir(
const char *path);
35int rmdir(
const char *path);
36int dopen(
const char *path,
int mode);
39int getstat(
const char *name,
io_stat_t *stat);
40int chstat(
const char *name,
io_stat_t *stat,
unsigned int statmask);
41int format(
const char *dev);
46#define IOP_DT_CHAR 0x01
47#define IOP_DT_CONS 0x02
48#define IOP_DT_BLOCK 0x04
49#define IOP_DT_RAW 0x08
94int DelDrv(
const char *name);
96#define ioman_IMPORTS_start DECLARE_IMPORT_TABLE(ioman, 1, 1)
97#define ioman_IMPORTS_end END_IMPORT_TABLE
99#define I_open DECLARE_IMPORT(4, open)
100#define I_close DECLARE_IMPORT(5, close)
101#define I_read DECLARE_IMPORT(6, read)
102#define I_write DECLARE_IMPORT(7, write)
103#define I_lseek DECLARE_IMPORT(8, lseek)
104#define I_ioctl DECLARE_IMPORT(9, ioctl)
105#define I_remove DECLARE_IMPORT(10, remove)
106#define I_mkdir DECLARE_IMPORT(11, mkdir)
107#define I_rmdir DECLARE_IMPORT(12, rmdir)
108#define I_dopen DECLARE_IMPORT(13, dopen)
109#define I_dclose DECLARE_IMPORT(14, dclose)
110#define I_dread DECLARE_IMPORT(15, dread)
111#define I_getstat DECLARE_IMPORT(16, getstat)
112#define I_chstat DECLARE_IMPORT(17, chstat)
113#define I_format DECLARE_IMPORT(18, format)
114#define I_AddDrv DECLARE_IMPORT(20, AddDrv);
115#define I_DelDrv DECLARE_IMPORT(21, DelDrv);
struct _iop_device * device
struct _iop_file iop_file_t