Chapter 11. String Handling <string.h>

Table of Contents
11.1. String Function Conventions
11.2. Copying Functions
11.3. Concatenation Functions
11.4. Comparison Functions
11.5. Search Functions
11.6. Miscellaneous Functions

11.1. String Function Conventions

The header <string.h> declares one type and several functions, and defines one macro useful for manipulating arrays of character type and other objects treated as arrays of character type. The type is size_t and the macro is NULL (both described in ANSI C 7.1.6). Various methods are used for determining the lengths of the arrays, but in all cases a char * or void * argument points to the initial (lowest addressed) character of the array. If an array is accessed beyond the end of an object, the behavior is undefined.