【发布时间】:2016-09-01 13:54:36
【问题描述】:
Linux kernel's list.h 提供了许多用于迭代其自己的链表实现的宏。例如:
/**
* list_for_each - iterate over a list
* @pos: the &struct list_head to use as a loop cursor.
* @head: the head for your list.
*/
#define list_for_each(pos, head) \
for (pos = (head)->next; pos != (head); pos = pos->next)
试图缩写的pos 参数的名称是什么? (pos 代表/意思是什么?)
【问题讨论】:
标签: c linux-kernel naming