C string.h

Functions

memchr()
Finds the first occurrence of a specified value in a block of memory and returns a pointer to it.
memcmp()
Compares two blocks of memory and determines their relative order based on byte values.
memcpy()
Copies a specified number of bytes from one memory location to another.
memmove()
Safely copies bytes from one memory location to another, even if they overlap.
memset()
Fills a block of memory with a specified byte value.
strcat()
Concatenates one string to the end of another.
strchr()
Finds the first occurrence of a specified character in a string and returns a pointer to it.
strcmp()
Compares two strings character by character and determines their relative order.
strcoll()
Compares two strings using locale-specific ordering.
strcpy()
Copies a string from one memory location to another.
strcspn()
Finds the length of the initial segment of a string that does not contain specified characters.
strerror()
Returns a descriptive error message corresponding to an error code.
strlen()
Returns the length of a string excluding the null terminator.
strncat()
Concatenates a specified number of characters from one string to another.
strncmp()
Compares a specified number of characters from two strings.
strncpy()
Copies a specified number of characters from one string to another.
strpbrk()
Finds the first occurrence of any character from a specified set in a string.
strrchr()
Finds the last occurrence of a specified character in a string.
strspn()
Finds the length of the initial segment of a string that consists entirely of specified characters.
strstr()
Finds the first occurrence of a substring within another string.
strtok()
Splits a string into tokens based on specified delimiters.
strxfrm()
Transforms a string to a locale-specific form for comparison.