totn C Functions

C Language: Standard Library Functions - string.h

In the C Programming Language, the Standard Library Functions are divided into several header files.

The following is a list of functions found within the <string.h> header file:

Comparison functions

memcmpCompare Memory Blocks
strcmpString Compare
strcollString Compare Using Locale-Specific Collating Sequence
strncmpBounded String Compare
strxfrmTransform Locale-Specific String

Concatenation functions

strcatString Concatenation
strncatBounded String Concatenation

Copying functions

memcpyCopy Memory Block
memmoveCopy Memory Block
strcpyString Copy
strncpyBounded String Copy

Search functions

memchrSearch Memory Block for Character
strchrSearch String for Character
strcspnSearch String for Intial Span of Characters Not in Set
strpbrkSearch String for One of a Set of Characters
strrchrSearch String in Reverse for Character
strspnSearch String for Initial Span of Characters in Set
strstrSearch String for Substring
strtokSearch String for Token

Miscellaneous functions

memsetInitialize Memory Block
strerrorConvert Error Number to String
strlenString Length