• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * string.h
3  */
4 
5 #ifndef _STRING_H
6 #define _STRING_H
7 
8 #include <klibc/extern.h>
9 #include <stddef.h>
10 
11 __extern void *memccpy(void *, const void *, int, size_t);
12 __extern void *memchr(const void *, int, size_t);
13 __extern int memcmp(const void *, const void *, size_t);
14 __extern void *memcpy(void *, const void *, size_t);
15 __extern void *mempcpy(void *, const void *, size_t);
16 __extern void *memmove(void *, const void *, size_t);
17 __extern void *memset(void *, int, size_t);
18 __extern void *memmem(const void *, size_t, const void *, size_t);
19 __extern void memswap(void *, void *, size_t);
20 __extern int strcasecmp(const char *, const char *);
21 __extern int strncasecmp(const char *, const char *, size_t);
22 __extern char *strcat(char *, const char *);
23 __extern char *strchr(const char *, int);
24 __extern int strcmp(const char *, const char *);
25 __extern char *strcpy(char *, const char *);
26 __extern size_t strcspn(const char *, const char *);
27 __extern char *strdup(const char *);
28 __extern char *strndup(const char *, size_t);
29 __extern char *strerror(int);
30 __extern size_t strlen(const char *);
31 __extern size_t strnlen(const char *, size_t);
32 __extern char *strncat(char *, const char *, size_t);
33 __extern size_t strlcat(char *, const char *, size_t);
34 __extern int strncmp(const char *, const char *, size_t);
35 __extern char *strncpy(char *, const char *, size_t);
36 __extern char *stpcpy(char *, const char *);
37 __extern char *stpncpy(char *, const char *, size_t);
38 __extern size_t strlcpy(char *, const char *, size_t);
39 __extern char *strpbrk(const char *, const char *);
40 __extern char *strrchr(const char *, int);
41 __extern char *strsep(char **, const char *);
42 __extern size_t strspn(const char *, const char *);
43 __extern char *strstr(const char *, const char *);
44 __extern char *strtok(char *, const char *);
45 __extern char *strreplace(const char *, const char *, const char *);
46 
47 #endif /* _STRING_H */
48