osSemInit
System configuration items
UINT32
osSemInit
(
void
)
: Semaphore init function.
Description:
This API is used to initialize Semaphore module.
注意:
:
None.
参数:
参数名称
描述
None.
返回值:
返回值
描述
LOS_ERRNO_SEM_NO_MEMORY
0x02000700:The memory is insufficient.
LOS_OK
0:Semaphore initialization success.
Dependency:
los_config.h
: the header file that contains the API declaration.
参见:
None.
自从:
Huawei LiteOS V100R001C00