mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
Document some behaviour I'm depending on.
(TAILQ_FOREACH leaves the variable NULL if there were no more to do)
This commit is contained in:
parent
b95a83b308
commit
5e7cbd4365
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=88596
@ -738,6 +738,8 @@ traverses the tail queue referenced by
|
||||
.Fa head
|
||||
in the forward direction, assigning each element in turn to
|
||||
.Fa var .
|
||||
.Fa Var
|
||||
is set to NULL if the loop completes normally, or if there were no elements.
|
||||
.Pp
|
||||
The macro
|
||||
.Nm TAILQ_FOREACH_REVERSE
|
||||
|
Loading…
Reference in New Issue
Block a user