ss_string_append(3) - Linux man page
Name
ss_string_append, ss_string_append_c_string, ss_string_append_c_string_l - appends a stringSynopsis
Linking with -lsstrings2
int ss_string_append(ss_string *string, const ss_string *src);
int ss_string_append_c_string(ss_string *string, const char *src);
int ss_string_append_c_string_l(ss_string *string, const char *src, size_t src_len);
Description
ss_string_append concatenates the string saved in string and the string saved in src. Both parameters have to be initialized with ss_string_new.ss_string_append_c_string concatenates the string saved in string and the C-string src. string has to be initialized with ss_string_new.
ss_string_append_c_string_l works like ss_string_append_c_string. The third parameter, src_len, is the right length of src. Note that this function does not check whether src_len is the right length of src.
Returning Value
The functions return 1 on success, 0 otherwiseError values for ss_errno
SS_NULLis a parameter is NULL
SS_NOMEM if there is no more memory left
SS_EINVAL
if the ss_string objects are invalid
Bugs
Please send your bug reportsto yanezp@informatik.uni-freiburg.de