Updated: October 28, 2024 |
Destroy a shareable string handle
#include <sys/strm.h>
int strm_string_destroy(strm_string_t *sstr)
This function destroys the shareable string handle referenced by sstr. If this is the last handle referencing the shareable string, the function frees the object's memory.
Zero on success, -1 on failure (check errno).