Initialize a doubly linked list.
-
Description:
-
This API is used to initialize a doubly linked list.
-
注意:
-
- The parameter passed in should be ensured to be a legal pointer.
-
参数:
-
|
参数名称 |
描述 |
|
pstList |
[IN] Node in a doubly linked list. |
-
返回值:
-
-
Dependency:
-
- los_list.h: the header file that contains the API declaration.
-
参见:
-
自从:
-
Huawei LiteOS V100R001C00
在文件los_list.h第80行定义。
参考 LOS_DL_LIST::pstNext及LOS_DL_LIST::pstPrev.
参考自 LOS_ListDelInit().
00081 {
00082 pstList->pstNext = pstList;
00083 pstList->pstPrev = pstList;
00084 }