7 #ifndef _PSP2KERN_IO_FCNTL_H_
8 #define _PSP2KERN_IO_FCNTL_H_
int ksceIoPwrite(SceUID fd, const void *data, SceSize size, SceOff offset)
Write output at offset.
int ksceIoPread(SceUID fd, void *data, SceSize size, SceOff offset)
Read input at offset.
int ksceIoClose(SceUID fd)
Delete a descriptor.
int ksceIoRead(SceUID fd, void *data, SceSize size)
Read input.
int ksceIoRename(const char *oldname, const char *newname)
Change the name of a file.
int ksceIoWrite(SceUID fd, const void *data, SceSize size)
Write output.
SceUID ksceIoOpen(const char *file, int flags, SceMode mode)
Open or create a file for reading or writing.
SceOff ksceIoLseek(SceUID fd, SceOff offset, int whence)
Reposition read/write file descriptor offset.
int ksceIoSync(const char *device, unsigned int unk)
Synchronize the file data on the device.
int ksceIoSyncByFd(SceUID fd)
Synchronize the file data for one file.
int ksceIoRemove(const char *file)
Remove directory entry.
SceSize size
struct size(variable size)
Definition: debug.h:0
int flags
Event flags.
Definition: debug.h:3
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