vitasdk
Documentation of the vitasdk
|
Exports for Kernel.
Include the header file in your project:
Link the library to the executable:
Functions | |
void * | memset (void *dst, int ch, unsigned int len) |
Set character to memory. More... | |
void * | memcpy (void *dst, const void *src, unsigned int len) |
Copy memory1 to memory2. More... | |
void * | memmove (void *dst, const void *src, unsigned int len) |
Move memory to memory. More... | |
int | memcmp (const void *s1, const void *s2, unsigned int len) |
Memory comparison. More... | |
void * | memchr (const void *src, int ch, unsigned int n) |
Search character from memory. More... | |
int | strcmp (const char *s1, const char *s2) |
Strings comparison. More... | |
int | strncmp (const char *s1, const char *s2, unsigned int n) |
Strings comparison with length limit. More... | |
char * | strchr (const char *src, int ch) |
Search character from string. More... | |
char * | strstr (const char *s1, const char *s2) |
Search string from string. More... | |
unsigned int | strlen (const char *s) |
Get string length. More... | |
unsigned int | strnlen (const char *s, unsigned int n) |
Get string length with length limit. More... | |
char * | strncpy (char *dst, const char *src, unsigned int n) |
Copy string with length limit. More... | |
int | snprintf (char *dst, unsigned int max, const char *fmt,...) |
int | vsnprintf (char *dst, unsigned int max, const char *fmt, va_list arg) |
char | look_ctype_table (char ch) |
int | tolower (int ch) |
int | toupper (int ch) |
int | timingsafe_memcmp (const void *s1, const void *s2, size_t n) |
long | strtol (const char *str, char **endptr, int base) |
long long | strtoll (const char *str, char **endptr, int base) |
unsigned long | strtoul (const char *str, char **endptr, int base) |
void * | __memcpy_chk (void *dst, const void *src, unsigned int len, unsigned int dst_len) |
void * | __memset_chk (void *dst, int ch, unsigned int len, unsigned int dst_len) |
void * | __memmove_chk (void *dst, const void *src, unsigned int len, unsigned int dst_len) |
char * | __strncpy_chk (char *dst, const char *src, unsigned int n, unsigned int dst_len) |
void | __prnt (SceSysclibPrntCallback callback, void *argp, const char *fmt, va_list list) |
Internal functions used for snprintf, vsnprintf, kscDebugPrintf. More... | |
__attribute__ ((__noreturn__)) void __stack_chk_fail(void) | |
Typedefs | |
typedef void(* | SceSysclibPrntCallback) (void *argp, int ch) |
typedef void(* SceSysclibPrntCallback) (void *argp, int ch) |
enum SceCTypeFlag |
void* memset | ( | void * | dst, |
int | ch, | ||
unsigned int | len | ||
) |
Set character to memory.
[in] | dst | - The output buffer pointer |
[in] | ch | - The character |
[in] | len | - The character set length |
void* memcpy | ( | void * | dst, |
const void * | src, | ||
unsigned int | len | ||
) |
Copy memory1 to memory2.
[in] | dst | - The output buffer pointer |
[in] | src | - The input buffer pointer |
[in] | len | - The copy length |
void* memmove | ( | void * | dst, |
const void * | src, | ||
unsigned int | len | ||
) |
Move memory to memory.
[in] | dst | - The buffer pointer |
[in] | src | - The buffer pointer |
[in] | len | - The move length |
int memcmp | ( | const void * | s1, |
const void * | s2, | ||
unsigned int | len | ||
) |
Memory comparison.
[in] | s1 | - The memory source1 |
[in] | s2 | - The memory source2 |
[in] | len | - The cmp length |
void* memchr | ( | const void * | src, |
int | ch, | ||
unsigned int | n | ||
) |
Search character from memory.
[in] | src | - The memory source |
[in] | ch | - The character |
[in] | len | - The search length |
int strcmp | ( | const char * | s1, |
const char * | s2 | ||
) |
Strings comparison.
[in] | s1 | - The string source1 |
[in] | s2 | - The string source2 |
int strncmp | ( | const char * | s1, |
const char * | s2, | ||
unsigned int | n | ||
) |
Strings comparison with length limit.
[in] | s1 | - The string source1 |
[in] | s2 | - The string source2 |
[in] | n | - The max length |
char* strchr | ( | const char * | src, |
int | ch | ||
) |
Search character from string.
[in] | src | - The string source |
[in] | ch | - The character |
char* strstr | ( | const char * | s1, |
const char * | s2 | ||
) |
Search string from string.
[in] | s1 | - The string source1 |
[in] | s2 | - The string source2 |
unsigned int strlen | ( | const char * | s | ) |
Get string length.
[in] | s | - The string pointer |
unsigned int strnlen | ( | const char * | s, |
unsigned int | n | ||
) |
Get string length with length limit.
[in] | s | - The string pointer |
[in] | n | - The max length |
char* strncpy | ( | char * | dst, |
const char * | src, | ||
unsigned int | n | ||
) |
Copy string with length limit.
[in] | dst | - The output buffer pointer |
[in] | src | - The input buffer pointer |
[in] | n | - The max copy length |
int snprintf | ( | char * | dst, |
unsigned int | max, | ||
const char * | fmt, | ||
... | |||
) |
int vsnprintf | ( | char * | dst, |
unsigned int | max, | ||
const char * | fmt, | ||
va_list | arg | ||
) |
char look_ctype_table | ( | char | ch | ) |
int tolower | ( | int | ch | ) |
int toupper | ( | int | ch | ) |
int timingsafe_memcmp | ( | const void * | s1, |
const void * | s2, | ||
size_t | n | ||
) |
long strtol | ( | const char * | str, |
char ** | endptr, | ||
int | base | ||
) |
long long strtoll | ( | const char * | str, |
char ** | endptr, | ||
int | base | ||
) |
unsigned long strtoul | ( | const char * | str, |
char ** | endptr, | ||
int | base | ||
) |
void* __memcpy_chk | ( | void * | dst, |
const void * | src, | ||
unsigned int | len, | ||
unsigned int | dst_len | ||
) |
void* __memset_chk | ( | void * | dst, |
int | ch, | ||
unsigned int | len, | ||
unsigned int | dst_len | ||
) |
void* __memmove_chk | ( | void * | dst, |
const void * | src, | ||
unsigned int | len, | ||
unsigned int | dst_len | ||
) |
char* __strncpy_chk | ( | char * | dst, |
const char * | src, | ||
unsigned int | n, | ||
unsigned int | dst_len | ||
) |
void __prnt | ( | SceSysclibPrntCallback | callback, |
void * | argp, | ||
const char * | fmt, | ||
va_list | list | ||
) |
Internal functions used for snprintf, vsnprintf, kscDebugPrintf.
[in] | callback | - The callback to receive ch output by this function |
[in] | argp | - The passed to callback |
[in] | fmt | - The base format. example: "%-18s" |
[in] | list | - The variable argument list |
__attribute__ | ( | (__noreturn__) | ) |