diff options
author | julian <julian@FreeBSD.org> | 2001-12-28 22:00:27 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 2001-12-28 22:00:27 +0000 |
commit | c7d1e5d15e38175c503173b00486a88ceb3d4aed (patch) | |
tree | fdf6cbfdd995bf48d18864e7e65cf59e1ea97417 | |
parent | e208ef8e1a3f61ebee49020839b240a9ecf1470e (diff) | |
download | FreeBSD-src-c7d1e5d15e38175c503173b00486a88ceb3d4aed.zip FreeBSD-src-c7d1e5d15e38175c503173b00486a88ceb3d4aed.tar.gz |
Document some behaviour I'm depending on.
(TAILQ_FOREACH leaves the variable NULL if there were no more to do)
-rw-r--r-- | share/man/man3/queue.3 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/share/man/man3/queue.3 b/share/man/man3/queue.3 index 072f86a..3251ec1 100644 --- a/share/man/man3/queue.3 +++ b/share/man/man3/queue.3 @@ -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 |