STRIM
Section: Basic C Library Functions (9)
Updated: February 2011
Index
Return to Main Contents
 
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