# PspIoDrvFuncs Struct Reference
[Driver interface to IoFileMgr]

`#include <sdk/kernel/pspiofilemgr_kernel.h>`

## Detailed Description

Structure to maintain the file driver pointers.

## Data Fields

int(* | IoInit )(PspIoDrvArg *arg)
int(* | IoExit )(PspIoDrvArg *arg)
int(* | IoOpen )(PspIoDrvFileArg *arg, char *file, int flags, SceMode mode)
int(* | IoClose )(PspIoDrvFileArg *arg)
int(* | IoRead )(PspIoDrvFileArg *arg, char *data, int len)
int(* | IoWrite )(PspIoDrvFileArg *arg, const char *data, int len)
int(* | IoLseek )(PspIoDrvFileArg *arg, u32 unk, long long ofs, int whence)
int(* | IoIoctl )(PspIoDrvFileArg *arg, unsigned int cmd, void *indata, int inlen, void *outdata, int outlen)
int(* | IoRemove )(PspIoDrvFileArg *arg, const char *name)
int(* | IoMkdir )(PspIoDrvFileArg *arg, const char *name, SceMode mode)
int(* | IoRmdir )(PspIoDrvFileArg *arg, const char *name)
int(* | IoDopen )(PspIoDrvFileArg *arg, const char *dirname)
int(* | IoDclose )(PspIoDrvFileArg *arg)
int(* | IoDread )(PspIoDrvFileArg *arg, SceIoDirent *dir)
int(* | IoGetstat )(PspIoDrvFileArg *arg, const char *file, SceIoStat *stat)
int(* | IoChstat )(PspIoDrvFileArg *arg, const char *file, SceIoStat *stat, int bits)
int(* | IoRename )(PspIoDrvFileArg *arg, const char *oldname, const char *newname)
int(* | IoChdir )(PspIoDrvFileArg *arg, const char *dir)
int(* | IoMount )(PspIoDrvFileArg *arg)
int(* | IoUmount )(PspIoDrvFileArg *arg)
int(* | IoDevctl )(PspIoDrvFileArg *arg, unsigned int cmd, void *indata, int inlen, void *outdata, int outlen)
int(* | IoUnk21 )(PspIoDrvFileArg *arg)

## Field Documentation

int(* PspIoDrvFuncs::IoChdir)(PspIoDrvFileArg *arg, const char *dir)

int(* PspIoDrvFuncs::IoChstat)(PspIoDrvFileArg *arg, const char *file, SceIoStat *stat, int bits)

int(* PspIoDrvFuncs::IoClose)(PspIoDrvFileArg *arg)

int(* PspIoDrvFuncs::IoDclose)(PspIoDrvFileArg *arg)

int(* PspIoDrvFuncs::IoDevctl)(PspIoDrvFileArg *arg, unsigned int cmd, void *indata, int inlen, void *outdata, int outlen)

int(* PspIoDrvFuncs::IoDopen)(PspIoDrvFileArg *arg, const char *dirname)

int(* PspIoDrvFuncs::IoDread)(PspIoDrvFileArg *arg, SceIoDirent *dir)

int(* PspIoDrvFuncs::IoExit)(PspIoDrvArg *arg)

int(* PspIoDrvFuncs::IoGetstat)(PspIoDrvFileArg *arg, const char *file, SceIoStat *stat)

int(* PspIoDrvFuncs::IoInit)(PspIoDrvArg *arg)

int(* PspIoDrvFuncs::IoIoctl)(PspIoDrvFileArg *arg, unsigned int cmd, void *indata, int inlen, void *outdata, int outlen)

int(* PspIoDrvFuncs::IoLseek)(PspIoDrvFileArg *arg, u32 unk, long long ofs, int whence)

int(* PspIoDrvFuncs::IoMkdir)(PspIoDrvFileArg *arg, const char *name, SceMode mode)

int(* PspIoDrvFuncs::IoMount)(PspIoDrvFileArg *arg)

int(* PspIoDrvFuncs::IoOpen)(PspIoDrvFileArg *arg, char *file, int flags, SceMode mode)

int(* PspIoDrvFuncs::IoRead)(PspIoDrvFileArg *arg, char *data, int len)

int(* PspIoDrvFuncs::IoRemove)(PspIoDrvFileArg *arg, const char *name)

int(* PspIoDrvFuncs::IoRename)(PspIoDrvFileArg *arg, const char *oldname, const char *newname)

int(* PspIoDrvFuncs::IoRmdir)(PspIoDrvFileArg *arg, const char *name)

int(* PspIoDrvFuncs::IoUmount)(PspIoDrvFileArg *arg)

int(* PspIoDrvFuncs::IoUnk21)(PspIoDrvFileArg *arg)

int(* PspIoDrvFuncs::IoWrite)(PspIoDrvFileArg *arg, const char *data, int len)

The documentation for this struct was generated from the following file:

- sdk/kernel/pspiofilemgr_kernel.h