6 #ifndef _PSP2KERN_KERNEL_SYSCLIB_H_
7 #define _PSP2KERN_KERNEL_SYSCLIB_H_
40 void *
memset(
void *dst,
int ch,
unsigned int len);
51 void *
memcpy(
void *dst,
const void *src,
unsigned int len);
62 void *
memmove(
void *dst,
const void *src,
unsigned int len);
73 int memcmp(
const void *s1,
const void *s2,
unsigned int len);
84 void *
memchr(
const void *src,
int ch,
unsigned int n);
94 int strcmp(
const char *s1,
const char *s2);
105 int strncmp(
const char *s1,
const char *s2,
unsigned int n);
125 char *
strstr(
const char *s1,
const char *s2);
144 unsigned int strnlen(
const char *s,
unsigned int n);
155 char *
strncpy(
char *dst,
const char *src,
unsigned int n);
158 int vsnprintf(
char *dst,
unsigned int max,
const char *
fmt, va_list arg);
168 long strtol(
const char *str,
char **endptr,
int base);
169 long long strtoll(
const char *str,
char **endptr,
int base);
170 unsigned long strtoul(
const char *str,
char **endptr,
int base);
173 void *
__memcpy_chk(
void *dst,
const void *src,
unsigned int len,
unsigned int dst_len);
174 void *
__memset_chk(
void *dst,
int ch,
unsigned int len,
unsigned int dst_len);
175 void *
__memmove_chk(
void *dst,
const void *src,
unsigned int len,
unsigned int dst_len);
176 char *
__strncpy_chk(
char *dst,
const char *src,
unsigned int n,
unsigned int dst_len);
191 void __stack_chk_fail(
void);
const void const char * fmt
Definition: debug.h:139
void * __memcpy_chk(void *dst, const void *src, unsigned int len, unsigned int dst_len)
int strcmp(const char *s1, const char *s2)
Strings comparison.
long long strtoll(const char *str, char **endptr, int base)
int strncmp(const char *s1, const char *s2, unsigned int n)
Strings comparison with length limit.
unsigned long strtoul(const char *str, char **endptr, int base)
void * __memmove_chk(void *dst, const void *src, unsigned int len, unsigned int dst_len)
int vsnprintf(char *dst, unsigned int max, const char *fmt, va_list arg)
void * __memset_chk(void *dst, int ch, unsigned int len, unsigned int dst_len)
char look_ctype_table(char ch)
void * memmove(void *dst, const void *src, unsigned int len)
Move memory to memory.
int snprintf(char *dst, unsigned int max, const char *fmt,...)
int memcmp(const void *s1, const void *s2, unsigned int len)
Memory comparison.
SceCTypeFlag
Definition: sysclib.h:19
__attribute__((__noreturn__)) void __stack_chk_fail(void)
int timingsafe_memcmp(const void *s1, const void *s2, size_t n)
void * memset(void *dst, int ch, unsigned int len)
Set character to memory.
void * memcpy(void *dst, const void *src, unsigned int len)
Copy memory1 to memory2.
char * strchr(const char *src, int ch)
Search character from string.
unsigned int strnlen(const char *s, unsigned int n)
Get string length with length limit.
void __prnt(SceSysclibPrntCallback callback, void *argp, const char *fmt, va_list list)
Internal functions used for snprintf, vsnprintf, kscDebugPrintf.
char * __strncpy_chk(char *dst, const char *src, unsigned int n, unsigned int dst_len)
void * memchr(const void *src, int ch, unsigned int n)
Search character from memory.
char * strncpy(char *dst, const char *src, unsigned int n)
Copy string with length limit.
unsigned int strlen(const char *s)
Get string length.
long strtol(const char *str, char **endptr, int base)
char * strstr(const char *s1, const char *s2)
Search string from string.
void(* SceSysclibPrntCallback)(void *argp, int ch)
Definition: sysclib.h:17
@ SCE_CTYPE_HEX_CASE
Definition: sysclib.h:27
@ SCE_CTYPE_NUMBER
Definition: sysclib.h:23
@ SCE_CTYPE_INVISIBLE
Definition: sysclib.h:26
@ SCE_CTYPE_SYMBOL
Definition: sysclib.h:25
@ SCE_CTYPE_LOWERCASE
Definition: sysclib.h:22
@ SCE_CTYPE_CONTROL
Definition: sysclib.h:24
@ SCE_CTYPE_NONE
Definition: sysclib.h:20
@ SCE_CTYPE_UPPERCASE
Definition: sysclib.h:21