Movatterモバイル変換
[0]ホーム
| String Manipulation |
|---|
| Prev | Chapter 2. Basic C Library Functions | Next |
|---|
- 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
- strscpy — 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 inaccept - strcspn — Calculate the length of the initial substring of
s 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 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.
- strreplace — Replace all occurrences of character in string.
[8]ページ先頭