scc

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

string.h (1145B)


      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 void *memcpy(void *restrict, const void *restrict, size_t);
     11 void *memmove(void *, const void *, size_t);
     12 char *strcpy(char *restrict, const char *restrict);
     13 char *strncpy(char *restrict, const char *restrict, size_t);
     14 char *strcat(char *restrict, const char *restrict);
     15 char *strncat(char *restrict, const char *restrict, size_t);
     16 int memcmp(const void *, const void *, size_t);
     17 int strcmp(const char *, const char *);
     18 int strcoll(const char *, const char *);
     19 int strncmp(const char *, const char *, size_t);
     20 size_t strxfrm(char *restrict, const char *restrict, size_t);
     21 void *memchr(const void *, int, size_t);
     22 char *strchr(const char *, int);
     23 size_t strcspn(const char *, const char *);
     24 char *strpbrk(const char *, const char *);
     25 char *strrchr(const char *, int);
     26 size_t strspn(const char *, const char *);
     27 char *strstr(const char *, const char *);
     28 char *strtok(char *restrict, const char *restrict);
     29 void *memset(void *, int, size_t);
     30 char *strerror(int);
     31 size_t strlen(const char *);
     32 
     33 #endif