ss_string_delete(3) - Linux man page
Name
ss_string_delete - deletes a substringSynopsis
#include <sstrings2.h>Linking with -lsstrings2
int ss_string_delete(ss_string *string, size_t pos, size_t len);
Description
The procedure ss_string_delete deletes the substring at position pos with length len from the string saved in string. string has to be initialized with ss_string_new. Note that len may be greater than the total number of characters to be deleted.Returning value
The functions returns 1 on success, 0 otherwiseError values for ss_errno
SS_NULLif string is NULL
SS_EINVAL if string is an invalid ss_string object
SS_EINVAL if pos is equal or greater than the string length saved in string