user: implement mlibc as the libc, finally.
It's finally done.. Signed-off-by: kaguya <vpshinomiya@protonmail.com>
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
|
||||
#ifndef _STRINGS_H
|
||||
#define _STRINGS_H
|
||||
|
||||
#include <bits/size_t.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifndef __MLIBC_ABI_ONLY
|
||||
|
||||
char *index (const char *__s, int __c);
|
||||
char *rindex(const char *__s, int __c);
|
||||
|
||||
int ffs(int __word);
|
||||
int strcasecmp(const char *__a, const char *__b);
|
||||
int strncasecmp(const char *__a, const char *__b, size_t __size);
|
||||
|
||||
/* Marked as obsolete in posix 2008 but used by at least tracker */
|
||||
int bcmp(const void *__s1, const void *__s2, size_t __n);
|
||||
void bcopy(const void *__s1, void *__s2, size_t __n);
|
||||
void bzero(void *__s, size_t __n);
|
||||
void explicit_bzero(void *__s, size_t __len);
|
||||
|
||||
#endif /* !__MLIBC_ABI_ONLY */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _STRINGS_H */
|
||||
|
||||
Reference in New Issue
Block a user