string.h Header File string.h
#include <string.h>
string.h is the header that holds the declarations and
definitions of all ANSI routines that handle strings and buffers.
It declares the following functions:
memchr() Search a region of memory for a character
memcmp() Compare two regions of memory
memcpy() Copy one region of memory into another
memmove() Copy one region of memory into another with which it overlaps
memset() Fill a region of memory with a character
strcmp() Compare two strings
strncmp() Compare two lengths for a set number of bytes
strcpy() Copy a string
strncmp() Copy a portion of a string
strcoll() Compare two strings, using locale information
strcspn() Return length one string excludes characters in another
strerror()Translate an error number into a string
strlen() Measure the length of a string
strpbrk() Find first occurrence in string of character from another string
strchr() Find leftmost occurrence of character in a string
strrchr() Find rightmost occurrence of character in a string
strspn() Return length one string includes character in another
strstr() Find one string within another string
strtok() Break a string into tokens
strxfrm() Transform a string, using locale information
See their respective Lexicon entries for details.
***** See Also *****
header files
COHERENT Lexicon Page 1