vitasdk
Documentation of the vitasdk
fcntl.h File Reference

Go to the source code of this file.

Data Structures

struct  SceIoDevctlOpt
 
struct  sceIoChstatOpt
 
struct  sceIoDopenOpt
 
struct  sceIoGetstatOpt
 
struct  sceIoMkdirOpt
 
struct  sceIoOpenOpt
 
struct  sceIoRemoveOpt
 
struct  sceIoRenameOpt
 
struct  sceIoRmdirOpt
 
struct  sceIoSyncOpt
 

Functions

SceUID sceIoOpen (const char *file, int flags, SceMode mode)
 Open or create a file for reading or writing.
 
int sceIoClose (SceUID fd)
 Delete a descriptor.
 
SceSSize sceIoRead (SceUID fd, void *buf, SceSize nbyte)
 Read input.
 
int sceIoPread (SceUID fd, void *data, SceSize size, SceOff offset)
 Read input at offset.
 
SceSSize sceIoWrite (SceUID fd, const void *buf, SceSize nbyte)
 Write output.
 
int sceIoPwrite (SceUID fd, const void *data, SceSize size, SceOff offset)
 Write output at offset.
 
SceOff sceIoLseek (SceUID fd, SceOff offset, int whence)
 Reposition read/write file descriptor offset.
 
long sceIoLseek32 (SceUID fd, long offset, int whence)
 Reposition read/write file descriptor offset (32bit mode)
 
int sceIoRemove (const char *file)
 Remove directory entry.
 
int sceIoRename (const char *oldname, const char *newname)
 Change the name of a file.
 
int sceIoSync (const char *device, unsigned int flags)
 Synchronize the file data on the device.
 
int sceIoSyncByFd (SceUID fd, int flag)
 Synchronize the file data for one file.
 
int sceIoCancel (SceUID fd)
 Cancel an asynchronous operation on a file descriptor.
 
int sceIoGetPriority (SceUID fd)
 
int sceIoGetProcessDefaultPriority (void)
 
int sceIoGetThreadDefaultPriority (void)
 
int sceIoSetPriority (SceUID fd, int priority)
 
int sceIoSetProcessDefaultPriority (int priority)
 
int sceIoSetThreadDefaultPriority (int priority)
 
 VITASDK_BUILD_ASSERT_EQ (0x18, SceIoDevctlOpt)
 
 VITASDK_BUILD_ASSERT_EQ (0x8, sceIoChstatOpt)
 
 VITASDK_BUILD_ASSERT_EQ (0x8, sceIoDopenOpt)
 
 VITASDK_BUILD_ASSERT_EQ (0x8, sceIoGetstatOpt)
 
 VITASDK_BUILD_ASSERT_EQ (0x8, sceIoMkdirOpt)
 
 VITASDK_BUILD_ASSERT_EQ (0x8, sceIoOpenOpt)
 
 VITASDK_BUILD_ASSERT_EQ (0x8, sceIoRemoveOpt)
 
 VITASDK_BUILD_ASSERT_EQ (0x10, sceIoRenameOpt)
 
 VITASDK_BUILD_ASSERT_EQ (0x8, sceIoRmdirOpt)
 
 VITASDK_BUILD_ASSERT_EQ (0x8, sceIoSyncOpt)
 
int _sceIoChstat (const char *name, const SceIoStat *stat, unsigned int cbit, const sceIoChstatOpt *opt)
 User export used by sceIoChstat.
 
int _sceIoChstatByFd (SceUID fd, const SceIoStat *buf, unsigned int cbit)
 User export used by sceIoChstatByFd.
 
int _sceIoDevctl (const char *devname, int cmd, const void *arg, const SceIoDevctlOpt *opt)
 User export used by sceIoDevctl.
 
SceUID _sceIoDopen (const char *dirname, const sceIoDopenOpt *opt)
 User export used by sceIoDopen.
 
int _sceIoDread (SceUID fd, SceIoDirent *dir)
 User export used by sceIoDread.
 
int _sceIoGetstat (const char *name, SceIoStat *buf, const sceIoGetstatOpt *opt)
 User export used by sceIoGetstat.
 
int _sceIoGetstatByFd (SceUID fd, SceIoStat *stat)
 User export used by sceIoGetstatByFd.
 
int _sceIoMkdir (const char *dirname, SceMode mode, const sceIoMkdirOpt *opt)
 User export used by sceIoMkdir.
 
SceUID _sceIoOpen (const char *filename, int flags, SceMode mode, const sceIoOpenOpt *opt)
 User export used by sceIoOpen.
 
int _sceIoRemove (const char *filename, const sceIoRemoveOpt *opt)
 User export used by sceIoRemove.
 
int _sceIoRename (const char *oldname, const char *newname, const sceIoRenameOpt *opt)
 User export used by sceIoRename.
 
int _sceIoRmdir (const char *dirname, const sceIoRmdirOpt *opt)
 User export used by sceIoRmdir.
 
int _sceIoSync (const char *device, unsigned int flags, const sceIoSyncOpt *opt)
 User export used by sceIoSync.