libite 2.6.1
|
Go to the source code of this file.
Functions | |
char * | strtrim (char *str) |
char * strtrim | ( | char * | str | ) |
Strip leading and trailing whitespace from a string
str | The string to trim |
Trims a string from any leading and trailing white-space, returns the trimmed result in the same buffer.
str
is a valid, non-NULL string this function returns the same string stripped from whitespace. This function only returns NULL
if str
itself is NULL
.