|
strchr(3) -- locate character in string
|
The strchr() function returns a pointer to the first occurrence of the character c in the string s. The strrchr() function returns a pointer to the last occurrence of the character c in the string s. |
strcmp(3) -- compare two strings
|
The strcmp() function compares the two strings s1 and s2. It returns an integer less than, equal to, or greater than zero if s1 is found, respectively, to be less than, to match, or be greater than s2... |
|
strcoll(3) -- compare two strings using the current locale
|
The strcoll() function compares the two strings s1 and s2. It returns an integer less than, equal to, or greater than zero if s1 is found, respectively, to be less than, to match, or be greater than s... |
strcpy(3) -- copy a string
|
The strcpy() function copies the string pointed to by src (including the terminating `\0' character) to the array pointed to by dest. The strings may not overlap, and the destination string dest mus... |
strdup(3) -- duplicate a string
|
The strdup() function returns a pointer to a new string which is a duplicate of the string s. Memory for the new string is obtained with malloc(3), and can be freed with free(3). The strndup() works l... |
strerror(3) -- return string describing error code
|
The strerror() function returns a string describing the error code passed in the argument errnum. The string can only be used until the next call to strerror(). |
strfmon(3) -- convert monetary value to a string
|
The strfmon() function formats the specified amounts according to the format specification format and places the result in the character array s of size max. Ordinary characters in format are copied t... |
strfry(3) -- randomize a string
|
The strfry() function randomizes the contents of string by using rand(3) to randomly swap characters in the string. The result is an anagram of string. |
strftime(3) -- format date and time
|
The strftime() function formats the broken-down time tm according to the format specification format and places the result in the character array s of size max. Ordinary characters placed in the forma... |
string(3) -- string operations
|
The string functions perform string operations on NULL-terminated strings. See the individual man pages for descriptions of each function. |
stripchart(3) -- 2D strip chart for plotting x and y coordinate data.
|
The stripchart command creates a strip chart for plotting two-dimensional data (x,y coordinates). It has many configurable components: coordinate axes, elements, legend, grid lines, cross hairs, etc. ... |
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 ... |