scc

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

string.h.3 (1745B)


      1 .TH string.h 3
      2 .SH NAME
      3 string.h - string operations
      4 .SH SYNOPSIS
      5 #include <string.h>
      6 
      7 The string.h header declares the following functions:
      8 
      9 .nf
     10 void *memcpy(void *restrict s1, const void *restrict s2, size_t n);
     11 void *memmove(void *s1, const void *s2, size_t n);
     12 char *strcpy(char *restrict s1, const char *restrict s2);
     13 char *strncpy(char *restrict s1, const char *restrict s2, size_t n);
     14 char *strcat(chaar *restrict s1, const char *restrict s2);
     15 char *strncat(chaar *restrict s1, const char *restrict s2, size_t n);
     16 int memcmp(const void *s1, const void *s2, size_t n);
     17 int strcmp(const char *s1, const char *s2);
     18 int strcoll(const char *s1, const char *s2);
     19 int strncmp(const char *s1, const char *s2, size_t n);
     20 size_t strxfrm(char *restrict s1, const char *restrict s2, size_t n);
     21 void *memchr(const void *s, int c, size_t n);
     22 char *strchr(const char *s, int c);
     23 size_t strcspn(const char *s1, const char *s2);
     24 char *strpbrk(const char *s1, const char *s2);
     25 char *strrchr(const char *s, int c);
     26 size_t strspn(const char *s1, const char *s2);
     27 char *strstr(const char *s1, const char *s2);
     28 char *strtok(char *restrict s1, const char *restrict s2);
     29 void *memset(void *s, int c, size_t n);
     30 char *strerror(int errnum);
     31 size_t strlen(const char *s);
     32 .fi
     33 .SH DESCRIPTION
     34 The string.h header defines the macro
     35 .B NULL
     36 and the type
     37 .BR size_t .
     38 .SH STANDARDS
     39 ISO/IEC 9899:1999 Section 7.21.1
     40 .SH SEE ALSO
     41 .BR memchr (3)
     42 .BR memcmp (3)
     43 .BR memcpy (3)
     44 .BR memmove (3)
     45 .BR memset (3)
     46 .BR strcat (3)
     47 .BR strchr (3)
     48 .BR strcmp (3)
     49 .BR strcoll (3)
     50 .BR strcpy (3)
     51 .BR strcspn (3)
     52 .BR strerror (3)
     53 .BR strlen (3)
     54 .BR strncat (3)
     55 .BR strncmp (3)
     56 .BR strncpy (3)
     57 .BR strpbrk (3)
     58 .BR strrchr (3)
     59 .BR strspn (3)
     60 .BR strstr (3)
     61 .BR strtok (3)
     62 .BR strxfrm (3)