|
strlen(3) -- calculate the length of a string
|
The strlen() function calculates the length of the string s, not including the terminating `\0' character. |
strnlen(3) -- determine the length of a fixed-size string
|
The strnlen function returns the number of characters in the string pointed to by s, not including the terminating '\0' character, but at most maxlen. In doing this, strnlen looks only at the first... |
strpbrk(3) -- search a string for any of a set of characters
|
The strpbrk() function locates the first occurrence in the string s of any of the characters in the string accept. |
strptime(3) -- convert a string representation of time to a time tm structure
|
strptime() is the complementary function to strftime() and converts the character string pointed to by s to values which are stored in the tm structure pointed to by tm, using the format specified by ... |
strsep(3) -- extract token from string
|
If *stringp is NULL, the strsep() function returns NULL and does nothing else. Otherwise, this function finds the first token in the string *stringp, where tokens are delimited by symbols in the strin... |
strsignal(3) -- return string describing signal
|
The strsignal() function returns a string describing the signal number passed in the argument sig. The string can only be used until the next call to strsignal(). The array sys_siglist holds the signa... |
strspn(3) -- search a string for a set of characters
|
The strspn() function calculates the length of the initial segment of s which consists entirely of characters in accept. The strcspn() function calculates the length of the initial segment of s which ... |
strstr(3) -- locate a substring
|
The strstr() function finds the first occurrence of the substring nee- dle in the string haystack. The terminating `\0' characters are not compared. |
strtod(3) -- convert ASCII string to floating point number
|
The strtod, strtof, and strtold functions convert the initial portion of the string pointed to by nptr to double, float, and long double representation, respectively. The expected form of the (initial... |
strtok(3) -- extract tokens from strings
|
A `token' is a nonempty string of characters not occurring in the string delim, followed by \0 or by a character occurring in delim. The strtok() function can be used to parse the string s into toke... |
strtol(3) -- convert a string to a long integer.
|
The strtol() function converts the string in nptr to a long integer value according to the given base, which must be between 2 and 36 inclusive, or be the special value 0. The string must begin with a... |
strtoul(3) -- convert a string to an unsigned long integer.
|
The strtoul() function converts the string in nptr to an unsigned long integer value according to the given base, which must be between 2 and 36 inclusive, or be the special value 0. The string must b... |
strxfrm(3) -- string transformation
|
The strxfrm() function transforms the src string into a form such that the result of strcmp() on two strings that have been transformed with strxfrm() is the same as the result of strcoll() on the two... |