vitasdk
Documentation of the vitasdk

Detailed Description

Exports for User.


Using this library in your project

Include the header file in your project:



Functions

int sceIoMkdir (const char *dir, SceMode mode)
 Make a directory file. More...
 
int sceIoRmdir (const char *path)
 Remove a directory file. More...
 
int sceIoGetstat (const char *file, SceIoStat *stat)
 Get the status of a file. More...
 
int sceIoGetstatByFd (SceUID fd, SceIoStat *stat)
 Get the status of a file descriptor. More...
 
int sceIoChstat (const char *file, SceIoStat *stat, int bits)
 Change the status of a file. More...
 
int sceIoChstatByFd (SceUID fd, const SceIoStat *buf, unsigned int cbit)
 Change the status of a file descriptor. More...
 

Function Documentation

◆ sceIoMkdir()

int sceIoMkdir ( const char *  dir,
SceMode  mode 
)

Make a directory file.

Parameters
dir- The path to the directory
mode- Access mode (One or more SceIoAccessMode).
Returns
Returns the value 0 if it's successful, otherwise -1

◆ sceIoRmdir()

int sceIoRmdir ( const char *  path)

Remove a directory file.

Parameters
path- Removes a directory file pointed by the string path
Returns
Returns the value 0 if it's successful, otherwise -1

◆ sceIoGetstat()

int sceIoGetstat ( const char *  file,
SceIoStat stat 
)

Get the status of a file.

Parameters
file- The path to the file.
stat- A pointer to a SceIoStat structure.
Returns
< 0 on error.

◆ sceIoGetstatByFd()

int sceIoGetstatByFd ( SceUID  fd,
SceIoStat stat 
)

Get the status of a file descriptor.

Parameters
fd- The file descriptor.
stat- A pointer to a SceIoStat structure.
Returns
< 0 on error.

◆ sceIoChstat()

int sceIoChstat ( const char *  file,
SceIoStat stat,
int  bits 
)

Change the status of a file.

Parameters
file- The path to the file.
stat- A pointer to a SceIoStat structure.
bits- Bitmask defining which bits to change.
Returns
< 0 on error.

◆ sceIoChstatByFd()

int sceIoChstatByFd ( SceUID  fd,
const SceIoStat buf,
unsigned int  cbit 
)

Change the status of a file descriptor.

Parameters
fd- The file descriptor.
stat- A pointer to an io_stat_t structure.
bits- Bitmask defining which bits to change.
Returns
< 0 on error.