firestring_chomp - trim excess whitespace from the end of a string
#include <firestring.h>
-lfirestring
char *firestring_chomp(char *s)
firestring_chomp() removes any whitespace at the end of the string s.
The string is modified in place and returned as well.
s after having been modified.
Ian Gulliver <ian@penguinhosting.net>
libfirestring(3)
2002-03-31 firestring_chomp(3)