Scroll to navigation

firestring_trim(3) Library Functions Manual firestring_trim(3)

NAME

firestring_trim - trim excess whitespace from the start and end of a string

SYNOPSIS

#include <firestring.h>
 
-lfirestring
char *firestring_trim(char *s)

DESCRIPTION

firestring_trim() removes any whitespace at the beginning and end of the string s. A new pointer to the string (as the start may have moved) is returned

RETURN VALUE

A pointer inside s to the new start of the string.

AUTHOR

Ian Gulliver <ian@penguinhosting.net>

SEE ALSO

libfirestring(3)
2003-07-30