strm_string_destroy()

Destroy a string handle

Synopsis:

#include <strm.h>

int strm_string_destroy( strm_string_t *sstr );

Arguments:

sstr
A handle to a shareable string object.

Library:

libstrm

Description:

The function strm_string_destroy() destroys the specified string handle, and frees the memory allocated for the string object if the specified handle is the last one referencing it.

Returns:

0
Success.
-1
An error occurred (errno is set).

Classification:

QNX Neutrino

Safety:
Interrupt handler No
Signal handler No
Thread Yes