vitasdk
Documentation of the vitasdk

Detailed Description

Exports for Kernel.


Using this library in your project

Include the header file in your project:


Link the library to the executable:

SceIofilemgrForDriver_stub



Functions

int ksceIoMkdir (const char *dir, SceMode mode)
 Make a directory file. More...
 
int ksceIoRmdir (const char *path)
 Remove a directory file. More...
 
int ksceIoGetstat (const char *file, SceIoStat *stat)
 Get the status of a file. More...
 
int ksceIoGetstatByFd (SceUID fd, SceIoStat *stat)
 Get the status of a file descriptor. More...
 
int ksceIoChstat (const char *file, SceIoStat *stat, int bits)
 Change the status of a file. More...
 
int ksceIoChstatByFd (SceUID fd, SceIoStat *stat, int bits)
 Change the status of a file descriptor. More...
 

Function Documentation

◆ ksceIoMkdir()

int ksceIoMkdir ( 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

◆ ksceIoRmdir()

int ksceIoRmdir ( 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

◆ ksceIoGetstat()

int ksceIoGetstat ( 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.

◆ ksceIoGetstatByFd()

int ksceIoGetstatByFd ( 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.

◆ ksceIoChstat()

int ksceIoChstat ( 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.

◆ ksceIoChstatByFd()

int ksceIoChstatByFd ( SceUID  fd,
SceIoStat stat,
int  bits 
)

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.