Append one string to another¶
ss_string_cat is a function defined in ssstring.c.
Synopsis:
-
herr_t
ss_string_cat(ss_string_t *str, const char *s)¶
Description: Changes the value of the persistent string by appending another string.
Return Value: Returns non-negative on success; negative on failure. Successful side effect is that the value of str is
modified by appending the string s, which should be a C NUL-terminated string. If the original value of str
is NUL-terminated then the additional s value will replace that NUL, otherwise the additional value will be
added after the existing value.
Parallel Notes: Independent
See Also:
- Strings: Introduction for current chapter