1STRIM(9) Basic C Library Functions STRIM(9)
23
4
NAME
6strim - Removes leading and trailing whitespace from s.
7
SYNOPSIS
9char * strim(char * s);
10
ARGUMENTS
12s
13The string to be stripped.
14
DESCRIPTION
16Note that the first trailing whitespace is replaced with a
17NUL-terminator in the given string s. Returns a pointer to the first
18non-whitespace character in s.
19
COPYRIGHT
21Kernel Hackers Manual 3.10 June 2019 STRIM(9)