strm_string_destroy()
Destroy a shareable string handle
Synopsis:
#include <sys/strm.h>
int strm_string_destroy(strm_string_t *sstr)
Arguments:
- sstr
- A handle to a shareable string.
Library:
libstrmDescription:
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.
Returns:
Zero on success, -1 on failure (check errno).
Page updated:
