scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

string.h (1299B)


      1 #ifndef _STRING_H
      2 #define _STRING_H
      3 
      4 #define _NEED_SIZET
      5 #define _NEED_NULL
      6 #include <sys/cdefs.h>
      7 #include <arch/cdefs.h>
      8 #include <arch/string.h>
      9 
     10 extern void *memcpy(void *restrict, const void *restrict, size_t);
     11 extern void *memmove(void *, const void *, size_t);
     12 extern char *strcpy(char *restrict, const char *restrict);
     13 extern char *strncpy(char *restrict, const char *restrict, size_t);
     14 extern char *strcat(char *restrict, const char *restrict);
     15 extern char *strncat(char *restrict, const char *restrict, size_t);
     16 extern int memcmp(const void *, const void *, size_t);
     17 extern int strcmp(const char *, const char *);
     18 extern int strcoll(const char *, const char *);
     19 extern int strncmp(const char *, const char *, size_t);
     20 extern size_t strxfrm(char *restrict, const char *restrict, size_t);
     21 extern void *memchr(const void *, int, size_t);
     22 extern char *strchr(const char *, int);
     23 extern size_t strcspn(const char *, const char *);
     24 extern char *strpbrk(const char *, const char *);
     25 extern char *strrchr(const char *, int);
     26 extern size_t strspn(const char *, const char *);
     27 extern char *strstr(const char *, const char *);
     28 extern char *strtok(char *restrict, const char *restrict);
     29 extern void *memset(void *, int, size_t);
     30 extern char *strerror(int);
     31 extern size_t strlen(const char *);
     32 
     33 #endif