pspsdk-1.0+beta2
pspiofilemgr.h File Reference
Include dependency graph for pspiofilemgr.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  IoAssignPerms { IOASSIGN_RDWR = 0, IOASSIGN_RDONLY = 1 }
 Permission value for the sceIoAssign function. More...

Functions

SceUID sceIoOpen (const char *file, int flags, SceMode mode)
 Open or create a file for reading or writing.
SceUID sceIoOpenAsync (const char *file, int flags, SceMode mode)
 Open or create a file for reading or writing (asynchronous)
int sceIoClose (SceUID fd)
 Delete a descriptor.
int sceIoCloseAsync (SceUID fd)
 Delete a descriptor (asynchronous)
int sceIoRead (SceUID fd, void *data, SceSize size)
 Read input.
int sceIoReadAsync (SceUID fd, void *data, SceSize size)
 Read input (asynchronous)
int sceIoWrite (SceUID fd, const void *data, SceSize size)
 Write output.
int sceIoWriteAsync (SceUID fd, const void *data, SceSize size)
 Write output (asynchronous)
SceOff sceIoLseek (SceUID fd, SceOff offset, int whence)
 Reposition read/write file descriptor offset.
int sceIoLseekAsync (SceUID fd, SceOff offset, int whence)
 Reposition read/write file descriptor offset (asynchronous)
int sceIoLseek32 (SceUID fd, int offset, int whence)
 Reposition read/write file descriptor offset (32bit mode)
int sceIoLseek32Async (SceUID fd, int offset, int whence)
 Reposition read/write file descriptor offset (32bit mode, asynchronous)
int sceIoRemove (const char *file)
 Remove directory entry.
int sceIoMkdir (const char *dir, SceMode mode)
 Make a directory file.
int sceIoRmdir (const char *path)
 Remove a directory file.
int sceIoChdir (const char *path)
 Change the current directory.
int sceIoRename (const char *oldname, const char *newname)
 Change the name of a file.
SceUID sceIoDopen (const char *dirname)
 Open a directory.
int sceIoDread (SceUID fd, SceIoDirent *dir)
 Reads an entry from an opened file descriptor.
int sceIoDclose (SceUID fd)
 Close an opened directory file descriptor.
int sceIoDevctl (const char *dev, unsigned int cmd, void *indata, int inlen, void *outdata, int outlen)
 Send a devctl command to a device.
int sceIoAssign (const char *dev1, const char *dev2, const char *dev3, int mode, void *unk1, long unk2)
 Assigns one IO device to another (I guess)
int sceIoUnassign (const char *dev)
 Unassign an IO device.
int sceIoGetstat (const char *file, SceIoStat *stat)
 Get the status of a file.
int sceIoChstat (const char *file, SceIoStat *stat, int bits)
 Change the status of a file.
int sceIoIoctl (SceUID fd, unsigned int cmd, void *indata, int inlen, void *outdata, int outlen)
 Perform an ioctl on a device.
int sceIoIoctlAsync (SceUID fd, unsigned int cmd, void *indata, int inlen, void *outdata, int outlen)
 Perform an ioctl on a device.
int sceIoSync (const char *device, unsigned int unk)
 Synchronise the file data on the device.
int sceIoWaitAsync (SceUID fd, SceInt64 *res)
 Wait for asyncronous completion.
int sceIoWaitAsyncCB (SceUID fd, SceInt64 *res)
 Wait for asyncronous completion (with callbacks).
int sceIoPollAsync (SceUID fd, SceInt64 *res)
 Poll for asyncronous completion.
int sceIoGetAsyncStat (SceUID fd, int poll, SceInt64 *res)
 Get the asyncronous completion status.
int sceIoCancel (SceUID fd)
 Cancel an asynchronous operation on a file descriptor.
int sceIoGetDevType (SceUID fd)
 Get the device type of the currently opened file descriptor.
int sceIoChangeAsyncPriority (SceUID fd, int pri)
 Change the priority of the asynchronous thread.
int sceIoSetAsyncCallback (SceUID fd, SceUID cb, void *argp)
 Sets a callback for the asynchronous action.