strim (9) - Linux Manuals
strim: Removes leading and trailing whitespace from s.
Command to display strim
manual in Linux: $ man 9 strim
NAME
strim - Removes leading and trailing whitespace from s.
SYNOPSIS
-
char * strim(char * s);
ARGUMENTS
s
-
- The string to be stripped.
DESCRIPTION
Note that the first trailing whitespace is replaced with a
NUL-terminator
in the given string
s. Returns a pointer to the first non-whitespace character in
s.
COPYRIGHT
Pages related to strim
- strcat (9) - Append one NUL-terminated string to another
- strchr (9) - Find the first occurrence of a character in a string
- strchrnul (9) - Find and return a character in a string, or end of string
- strcmp (9) - Compare two strings
- strcpy (9) - Copy a NUL terminated string
- strcspn (9) - Calculate the length of the initial substring of s which does not contain letters in reject
- strlcat (9) - Append a length-limited, C-string to another
- strlcpy (9) - Copy a C-string into a sized buffer
- strlen (9) - Find the length of a string