strm_string_make()

Create a new shareable string object.

Synopsis:

#include <sys/strm.h>
 
strm_string_t* strm_string_make(const char *cstring)

Since:

BlackBerry 10.0.0

Arguments:

cstring

A pointer to a null-terminated string.

Library:

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

Description:

This function creates a new shareable string object, populating it with the string passed in the cstring argument, and returning a handle to the new string object.

Returns:

A handle to the new string object.