3.2. String Manipulation

Table of Contents
strcpy --  Copy a NUL terminated string
strncpy --  Copy a length-limited, NUL-terminated string
strcat --  Append one NUL-terminated string to another
strncat --  Append a length-limited, NUL-terminated string to another
strcmp --  Compare two strings
strncmp --  Compare two length-limited strings
strchr --  Find the first occurrence of a character in a string
strrchr --  Find the last occurrence of a character in a string
strlen --  Find the length of a string
strnlen --  Find the length of a length-limited string
strpbrk --  Find the first occurrence of a set of characters
strtok --  Split a string into tokens
memset --  Fill a region of memory with the given value
bcopy --  Copy one area of memory to another
memcpy --  Copy one area of memory to another
memmove --  Copy one area of memory to another
memcmp --  Compare two areas of memory
memscan --  Find a character in an area of memory.
strstr --  Find the first substring in a NUL terminated string
memchr --  Find a character in an area of memory.