Skip to main content

Name

smpp_malloc — Allocate memory of memtype_smpp type

Synopsis

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

| void * **smpp_malloc** ( | size); |   |

unsigned int <var class="pdparam">size</var>;

Description

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

Allocate memory of memtype_smpp type. Memory allocated using this function should be freed using smpp_free.

Parameters

size

The number of bytes of requested memory.

Return Values

On success htis function returns a pointer to the allocated memory; on failure, NULL is returned.

Threading

It is legal to call this function in any thread.

See Also

Was this page helpful?