9 #include "sys/stdtypes.h"
16 void *memcpy(void * dst, const void * src, size_t n);
19 void *memmove(void * dst, const void * src , size_t n);
20 char *strcpy(char * dst, const char * src);
21 char *strdup(const char * dst);
22 char *strncpy(char * dst, const char * src, size_t n);
23 char *strcat(char * s1, const char * s2);
24 char *strncat(char * s1, const char *s2, size_t n);
25 int memcmp(const void * s1, const void * s2, size_t n);
26 int strcmp(const char * s1, const char * s2);
27 int strcoll(const char * s1, const char * s2);
28 int strncmp(const char * s1, const char *s2, size_t n);
29 size_t strxfrm(char *dst, const char * src, size_t n);
30 void *memchr(const void *s, int c, size_t n);
31 char *strchr(const char *s, int c);
32 size_t strcspn(const char *s, const char *reject);
33 char *strpbrk(const char *s, const char *accept);
34 char *strrchr(const char *s, int c);
35 size_t strspn(const char *s, const char *accept);
36 char *strstr(const char *haystack, const char *needle);
37 char *strtok(char *s, const char *delim);
38 void *memset(void *s, int c, size_t n);
39 char *strerror(int n);
40 size_t strlen(const char *s);
43 /* non standard stuff */
44 char * strrev(char * s);
46 #if defined(_SUNOS) && !defined(_EiC)
47 void bcopy(char *from, char *to, int length);
48 #define memmove(x,y,z) bcopy((y),(x),(z))