function: lx_cadd()
USAGE:
char lx_cadd(lx_s *s_dest, char c)
Add the given character
c
to string buffer
s_dest
.
PROPERTIES
return value
0 on success (1 otherwise)
allocation ensured
yes
previous allocation required
no
EXAMPLE:
lx_s s = {0}; char *string = "some string"); lx_strset (&s, string); lx_cadd (&s, '\n');
(c) 2001,
ari edelkind
lx_lib docs