Skip to main content

Name

smpp_strdup — Duplicate a string

Synopsis

#include "modules/mobility/smpp/smpp_util.h"

| char * **smpp_strdup** ( | c); |   |

const char * <var class="pdparam">c</var>;

Description

**Configuration Change. ** This feature is available starting from Momentum 3.2.

Duplicate a string. Use smpp_free to free the returned buffer.

Parameters

c

The character string to duplicate.

Return Values

This function returns a pointer to the duplicated string.

Threading

It is legal to call this function in any thread.

See Also

Was this page helpful?