strm_string_make()

Updated: April 19, 2023

Create a new shareable string containing a copy of the provided string

Synopsis:

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

Arguments:

cstring
A pointer to a null-terminated string.

Library:

libstrm

Description:

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

Returns:

A handle to the new shareable string.