ss_string_new(3) - Linux man page
Name
ss_string_new - creates a new ss_string objectSinopsys
#include <sstrings2.h>Linking with -lsstrings2
ss_string *ss_string_new(const char *init);
Description
The memory space for the string pointed by init is allocated dynamically and it must be freed by the programmer using ss_string_free(3) or ss_string_gc_free(3).
The memory space for the ss_string object is allocated dynamically and it must be freed by the programmer using ss_string_free(3).
Returning value
ss_string_new return a pointer to a dynamically allocated ss_string object, NULL if there is no memory left.
Error values for ss_errno
SS_NOMEM if there is no memory leftSS_NULL
if init is NULL