strm_string_clone()

Create a new handle to an existing shareable string object.

Synopsis:

#include <sys/strm.h>
 
strm_string_t* strm_string_clone(const 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 creates a new string handle to the shareable string object referenced by the argument sstr.

Returns:

A new handle to the shareable string handle on success, or a null pointer on failure (errno is set).