flexda_malloc
Function
Allocates memory.
Syntax
void *flexda_malloc(size_t size)
Parameters
Parameter |
Type |
Input/Output |
Description |
|---|---|---|---|
size |
size_t |
Input |
Size of the allocated memory. |
Return value |
void * |
Output |
The function returns the memory address upon successful execution; otherwise, it returns NULL. |
Example
Refer to "Procedure 1: Developing OVS Control Plane Code" in the BeiMing 26.0.RC1 FlexDA Programming Framework Developer Guide.
Parent topic: Memory Management Interfaces