Scroll to navigation

STRIM(9) Basic C Library Functions STRIM(9)

NAME

strim - Removes leading and trailing whitespace from s.

SYNOPSIS

char * strim(char * s);

ARGUMENTS

char * 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

June 2017 Kernel Hackers Manual 4.11