7 #ifndef _PSP2_IO_FCNTL_H_
8 #define _PSP2_IO_FCNTL_H_
int sceIoGetPriority(SceUID fd)
int sceIoClose(SceUID fd)
Delete a descriptor.
int sceIoPwrite(SceUID fd, const void *data, SceSize size, SceOff offset)
Write output at offset.
int sceIoPread(SceUID fd, void *data, SceSize size, SceOff offset)
Read input at offset.
int sceIoSetPriority(SceUID fd, int priority)
int sceIoSetThreadDefaultPriority(int priority)
long sceIoLseek32(SceUID fd, long offset, int whence)
Reposition read/write file descriptor offset (32bit mode)
int sceIoSync(const char *device, unsigned int unk)
Synchronize the file data on the device.
int sceIoGetProcessDefaultPriority(void)
SceOff sceIoLseek(SceUID fd, SceOff offset, int whence)
Reposition read/write file descriptor offset.
SceUID sceIoOpen(const char *file, int flags, SceMode mode)
Open or create a file for reading or writing.
int sceIoRename(const char *oldname, const char *newname)
Change the name of a file.
SceSSize sceIoRead(SceUID fd, void *buf, SceSize nbyte)
Read input.
int sceIoSetProcessDefaultPriority(int priority)
int sceIoCancel(SceUID fd)
Cancel an asynchronous operation on a file descriptor.
int sceIoSyncByFd(SceUID fd, int flag)
Synchronize the file data for one file.
SceSSize sceIoWrite(SceUID fd, const void *buf, SceSize nbyte)
Write output.
int sceIoRemove(const char *file)
Remove directory entry.
int sceIoGetThreadDefaultPriority(void)
SceSize size
struct size(variable size)
Definition: debug.h:0
int flags
Event flags.
Definition: debug.h:3
signed int SceSSize
Definition: types.h:57
unsigned int SceSize
Definition: types.h:56
int SceUID
UIDs are used to describe many different kernel objects.
Definition: types.h:90
SceInt64 SceOff
Offset type.
Definition: types.h:88
int SceMode
Mode for I/O functions.
Definition: types.h:87