strm_string_destroy()

Destroy a string handle.

Synopsis:

#include <sys/strm.h>
 
int strm_string_destroy(strm_string_t *sstr)

Since:

BlackBerry 10.0.0

Arguments:

sstr

A handle to a shareable string object.

Library:

libstrm (For the qcc command, use the -l mrndclient option to link against this library)

Description:

This function 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).