stpcpy, strcasecmp, strcat, strchr, strcmp, strcoll, strcpy, strcspn, strdup, strfry, strlen, strncat, strncmp, strncpy, strncasecmp, strpbrk, strrchr, strsep, strspn, strstr, strtok, strxfrm, index, rindex - string operations
Standard C library (libc, -lc)
#include <strings.h>
Compare two strings, ignoring case.
Compare the first bytes of two strings, ignoring case.
Identical to strchr(3).
Identical to strrchr(3).
#include <string.h>
Copy a string, returning a pointer to the end of the resulting string.
Append a string into an existing string.
Find the first occurrence of a character in a string.
Compare two strings.
Compare two strings, using the current locale.
Copy a string.
Calculate the length of the initial segment of a string which does not contain any of the rejected bytes.
Duplicate a string in memory allocated using malloc(3).
Randomly swap the characters in a string.
Return the length of a string.
Append non-null bytes from an array to a string, and null-terminate the result.
Compare the first bytes of two strings.
Find the first occurrence in a string of one of the bytes in the accepted bytes.
Find the last occurrence of a character in a string.
Extract the initial field in a string that is delimited by one of the delimiter bytes.
Calculate the length of the initial segment of a string that consists entirely of accepted bytes.
Find the first occurrence of a substring in a string.
Extract tokens from a string that are delimited by one of the delimiter bytes.
Transforms a string to the current locale and copies the first bytes to a buffer.
Fill a fixed-size buffer with leading non-null bytes from a source array, padding with null bytes as needed.
The string functions perform operations on null-terminated strings. See the individual man pages for descriptions of each function.