firestring_trim(3) 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 <[email protected]>