Strings
Name | Brief description |
index | First occurrence of a character in a string |
rindex | Last occurrence of a character in a string |
strcat | Concatenate two strings |
strchr | First occurrence of a character in a string |
strcmp | Compare two strings |
strcoll | Compare two strings |
strcpy | Copy one string to another |
strcspn | Calculate the length of a string segment that does not contain any character from a second string |
strfill | Copy one string to another up to length n and fill with blanks if required |
strlen | Calculate the current length of a string |
strlower | Copy one string to another with conversion of uppercase to lowercase |
strncat | Concatenate two strings up to length n |
strncmp | Compare two strings up to length n |
strncpy | Copy one string to another up to length n |
strpbrk | First occurrence in a string of a character that matches a character in a second string |
strrchr | Last occurrence of a character in a string |
strspn | Calculate the length of a string segment containing only characters from a second string |
strstr | First occurrence of a string in another string |
strtok | Split string into several partial strings |
strtok_r | Thread-safe variant of |
strupper | Copy one string to another with conversion of lowercase to uppercase |
strxfrm | Transform a string |
Character arrays (memory areas)
Name | Brief description |
memchr | First occurrence of a character in a memory area |
memcmp | Compare two memory areas |
memcpy | Copy one memory area to another |
memmove | Copy one memory area to another |
memset | Initialize a memory area with a character |
Wide character strings
Name | Brief description |
towctrans | Map wide character |
wcsrtombs | Convert wide character string to multibyte character |
wcsstr | Find first occurrence of wide character string |
wctrans | Define mapping between wide characters |
wcscat | Concatenate two wide character strings |
wcschr | Scan wide character string for wide characters |
wcscmp | Compare two wide character strings |
wcscoll | Compare two wide character strings according to LC_COLLATE |
wcscpy | Copy wide character string |
wcscspn | Get length of complementary wide character substring |
wcsftime | Convert date and time to wide character string |
wcslen | Get length of wide character string |
wcsncat | Concatenate two wide character substrings |
wcsncmp | Compare two wide character substrings |
wcsncpy | Copy wide character substring |
wcspbrk | Get first occurrence of wide character in wide character string |
wcsrchr | Get last occurrence of wide character in wide character string |
wcsspn | Get length of wide character substring |
wcstok | Split wide character string into tokens |
wcsxfrm | Wide character string transformation |
wctype | Define wide character class |
Wide characters arrays (memory areas)
Name | Brief description |
wmemchr | First occurrence of wide character in wide character string |
wmemcmp | Compare two wide character strings (memory areas) |
wmemcpy | Copy wide character string (without overlapping of memory areas) |
wmemmove | Copy wide character string to memory with overlapping areas |
wmemset | Set n wide characters in wide character string |
Multibyte functions
Name | Brief description |
btowc | Convert (one-byte) multibyte character to wide character |
c16rtomb | Convert UTF-16 character to multibyte character |
c32rtomb | Convert UTF-32 character to multibyte character |
mblen | Return number of bytes of a multibyte character |
mbrlen | Determine remaining length of a multibyte character |
mbsinit | Test for initial conversion state |
mbrtoc16 | Complete multibyte character and convert to UTF-16 character |
mbrtoc32 | Complete multibyte character and convert to UTF-32 character |
mbrtowcs | Complete multibyte character and convert to wide character |
mbstowcs | Convert a multibyte string to wide character string |
mbtowc | Convert a multibyte character to a wide character |
wcstombs | Convert wide character string to a multibyte string |
wctomb | Convert a wide character to a multibyte character |