LITE_OS_SEC_ALW_INLINE STATIC_INLINE VOID LOS_ListDelInit ( LOS_DL_LIST pstList  ) 

Delete initialize a doubly linked list.

Description:
This API is used to delete initialize a doubly linked list.
注意:
  • The parameter passed in should be ensured to be s legal pointer.
参数:
参数名称 描述
pstList  [IN] Doubly linked list.
返回值:
返回值 描述
None. 
Dependency:
  • los_list.h: the header file that contains the API declaration.
参见:
自从:
Huawei LiteOS V100R001C00

在文件los_list.h370行定义。

参考 LOS_ListInit()osListDel()LOS_DL_LIST::pstNextLOS_DL_LIST::pstPrev.

00371 {
00372     osListDel(pstList->pstPrev, pstList->pstNext);
00373     LOS_ListInit(pstList);
00374 }

函数调用图: