UINT32 LOS_EventDestory ( PEVENT_CB_S  pstEventCB  ) 

Destroy a event.

Description:
  • This API is used to Destroy a event.
注意:
  • The specific event should be a valid one.
参数:
参数名称 描述
pstEventCB  [IN/OUT] Pointer to the event control block to be Destroyed.
返回值:
返回值 描述
LOS_ERRNO_EVENT_PTR_NULL  Null pointer.
LOS_OK  The event is successfully cleared.
Dependency:
  • los_event.h: the header file that contains the API declaration.
参见:
LOS_EventPoll | LOS_EventRead | LOS_EventWrite
自从:
Huawei LiteOS V100R001C00