BOOL osHeapInit ( VOID *  pPool,
UINT32  uwSz  
)

Initialization heap memory.

Description:
This API is used to initialization heap memory.
注意:
  • None.
参数:
参数名称 描述
pPool  [IN/OUT] A pointer pointed to the memory pool.
uwSz  [IN] Size of heap memory.
返回值:
返回值 描述
TRUE  Initialization success.
FALSE  Initialization failed.
Dependency:
  • los_heap.h: the header file that contains the API declaration.
参见:
None.
自从:
Huawei LiteOS V100R001C00