flexda_calloc
Function
Allocates memory.
Syntax
void *flexda_calloc(size_t num, size_t size)
Parameters
Parameter |
Type |
Input/Output |
Description |
|---|---|---|---|
num |
size_t |
Input |
Number of elements. |
size |
size_t |
Input |
Size of each element. |
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