strim

Langue: en

Version: October 2010 (fedora - 01/12/10)

Section: 9 (Appels noyau Linux)

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.