- strncasecmp —
Case insensitive, length-limited string comparison
- strcpy —
Copy a
NUL
terminated string
- strncpy —
Copy a length-limited, C-string
- strlcpy —
Copy a C-string into a sized buffer
- strcat —
Append one
NUL-terminated
string to another
- strncat —
Append a length-limited, C-string to another
- strlcat —
Append a length-limited, C-string to another
- strcmp —
Compare two strings
- strncmp —
Compare two length-limited strings
- strchr —
Find the first occurrence of a character in a string
- strchrnul —
Find and return a character in a string, or end of string
- strrchr —
Find the last occurrence of a character in a string
- strnchr —
Find a character in a length limited string
- skip_spaces —
Removes leading whitespace from
str
.
- strim —
Removes leading and trailing whitespace from
s
.
- strlen —
Find the length of a string
- strnlen —
Find the length of a length-limited string
- strspn —
Calculate the length of the initial substring of
s
which only contain letters in accept
- strcspn —
Calculate the length of the initial substring of
s
which does not contain letters in reject
- strpbrk —
Find the first occurrence of a set of characters
- strsep —
Split a string into tokens
- sysfs_streq —
return true if strings are equal, modulo trailing newline
- strtobool —
convert common user inputs into boolean values
- memset —
Fill a region of memory with the given value
- memzero_explicit —
Fill a region of memory (e.g. sensitive keying data) with 0s.
- 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
- strnstr —
Find the first substring in a length-limited string
- memchr —
Find a character in an area of memory.
- memchr_inv —
Find an unmatching character in an area of memory.