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
e208ef8e1a
commit
c7d1e5d15e
@ -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