C Collections

cstring · Section 3

cstr_trim

cstr_trim - strip the whitespace at the start and at the end, in-place

C Collections (libccollections, -lccollections)

#include <ccollections/cstring.h>
 
cstr_trim(s);

This macro just forwards its argument to cstring_trim().

s   cstr to change

cstring_trim(3)