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:

SceRegMgrForDriver_stub



Functions

int ksceRegMgrGetKeyBin (const char *category, const char *name, void *buf, SceSize size)
 Get a key's information by category and name. More...
 
int ksceRegMgrGetKeyInt (const char *category, const char *name, int *buf)
 Get a key's information by category and name. More...
 
int ksceRegMgrGetKeyStr (const char *category, const char *name, char *buf, SceSize size)
 Get a key's information by category and name. More...
 
int ksceRegMgrSetKeyBin (const char *category, const char *name, void *buf, SceSize size)
 Set a key's information by category and name. More...
 
int ksceRegMgrSetKeyInt (const char *category, const char *name, int buf)
 Set a key's information by category and name. More...
 
int ksceRegMgrSetKeyStr (const char *category, const char *name, char *buf, SceSize size)
 Set a key's information by category and name. More...
 

Function Documentation

◆ ksceRegMgrGetKeyBin()

int ksceRegMgrGetKeyBin ( const char *  category,
const char *  name,
void *  buf,
SceSize  size 
)

Get a key's information by category and name.

Parameters
category- The path to the directory to be opened (e.g. /CONFIG/SYSTEM)
name- Name of the key
buf- Pointer to a buffer to hold the value
size- The size of the buffer
Returns
0 on success, < 0 on error

◆ ksceRegMgrGetKeyInt()

int ksceRegMgrGetKeyInt ( const char *  category,
const char *  name,
int *  buf 
)

Get a key's information by category and name.

Parameters
category- The path to the directory to be opened (e.g. /CONFIG/SYSTEM)
name- Name of the key
buf- Pointer to a int buffer to hold the value
Returns
0 on success, < 0 on error

◆ ksceRegMgrGetKeyStr()

int ksceRegMgrGetKeyStr ( const char *  category,
const char *  name,
char *  buf,
SceSize  size 
)

Get a key's information by category and name.

Parameters
category- The path to the directory to be opened (e.g. /CONFIG/SYSTEM)
name- Name of the key
buf- Pointer to a char buffer to hold the value
size- The size of the buffer
Returns
0 on success, < 0 on error

◆ ksceRegMgrSetKeyBin()

int ksceRegMgrSetKeyBin ( const char *  category,
const char *  name,
void *  buf,
SceSize  size 
)

Set a key's information by category and name.

Parameters
category- The path to the directory to be opened (e.g. /CONFIG/SYSTEM)
name- Name of the key
buf- Pointer to a buffer to hold the value
size- The size of the buffer
Returns
0 on success, < 0 on error

◆ ksceRegMgrSetKeyInt()

int ksceRegMgrSetKeyInt ( const char *  category,
const char *  name,
int  buf 
)

Set a key's information by category and name.

Parameters
category- The path to the directory to be opened (e.g. /CONFIG/SYSTEM)
name- Name of the key
buf- Pointer to an int buffer to hold the value
Returns
0 on success, < 0 on error

◆ ksceRegMgrSetKeyStr()

int ksceRegMgrSetKeyStr ( const char *  category,
const char *  name,
char *  buf,
SceSize  size 
)

Set a key's information by category and name.

Parameters
category- The path to the directory to be opened (e.g. /CONFIG/SYSTEM)
name- Name of the key
buf- Pointer to a char buffer to hold the value
size- The size of the buffer
Returns
0 on success, < 0 on error