Movatterモバイル変換


[0]ホーム

URL:


String Manipulation
Prev Chapter 2. Basic C Library Functions Next

String Manipulation

strncasecmp — Case insensitive, length-limited string comparison
strcpy — Copy aNUL terminated string
strncpy — Copy a length-limited, C-string
strlcpy — Copy a C-string into a sized buffer
strscpy — Copy a C-string into a sized buffer
strcat — Append oneNUL-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 fromstr.
strim — Removes leading and trailing whitespace froms.
strlen — Find the length of a string
strnlen — Find the length of a length-limited string
strspn — Calculate the length of the initial substring ofs which only contain letters inaccept
strcspn — Calculate the length of the initial substring ofs which does not contain letters inreject
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
match_string — matches given string in an array
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 aNUL 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.
strreplace — Replace all occurrences of character in string.

Prev Up Next
kstrtobool Home strncasecmp

[8]ページ先頭

©2009-2025 Movatter.jp