summaryrefslogtreecommitdiff
path: root/include/user/kernel/clib.h
blob: 11887079461f91fe46a4640c38e6e8339a3ba930 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef _PSP2_KERNEL_CLIB_H_
#define _PSP2_KERNEL_CLIB_H_

#include <psp2/types.h>
#include <stdarg.h>

#ifdef __cplusplus
extern "C" {
#endif

int sceClibStrcmp(const char *, const char *);
void *sceClibStrncmp(const char *, const char *, SceSize);
int sceClibStrncasecmp(const char *, const char *, SceSize);
char *sceClibStrncpy(char *, const char *, SceSize);
char *sceClibStrncat(char *, const char *, SceSize);
SceSize sceClibStrnlen(const char *, SceSize);
char *sceClibStrrchr(const char *, int);

int sceClibPrintf(const char *, ...);
int sceClibSnprintf(char *, SceSize, const char *, ...);
int sceClibVsnprintf(char *, SceSize, const char *, va_list);

void *sceClibMemset(void *, int, SceSize);
void *sceClibMemcpy(void *, const void *, SceSize);
void *sceClibMemmove(void *, const void *, SceSize);

#ifdef __cplusplus
}
#endif

#endif /* _PSP2_KERNEL_CLIB_H_ */