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

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

May 2024 Kernel Hackers Manual 2.6.