#define LOS_DL_LIST_FOR_EACH ( item,
list   ) 

值:

for ((item) = (list)->pstNext; \
        (item) != (list); \
        (item) = (item)->pstNext)
iterate over a doubly linked list.

Description:
This API is used to iterate over a doubly linked list.
注意:
  • None.
参数:
参数名称 描述
item  [IN] Pointer to the structure that contains the doubly linked list that is to be traversed.
list  [IN] Pointer to the doubly linked list to be traversed.
返回值:
返回值 描述
None. 
Dependency:
  • los_list.h: the header file that contains the API declaration.
参见:
自从:
Huawei LiteOS V100R001C00

在文件los_list.h396行定义。