summaryrefslogtreecommitdiffstats
path: root/share/man/man3/queue.3
diff options
context:
space:
mode:
authormckusick <mckusick@FreeBSD.org>2006-03-24 07:41:12 +0000
committermckusick <mckusick@FreeBSD.org>2006-03-24 07:41:12 +0000
commitca00a0da03f0f3630705e3355fbca5cc44d5fd43 (patch)
treedf8632ace074264f5abc997dd6d616eafd020cde /share/man/man3/queue.3
parent177c00bf75409a9d21a8e86efd252543256c4583 (diff)
downloadFreeBSD-src-ca00a0da03f0f3630705e3355fbca5cc44d5fd43.zip
FreeBSD-src-ca00a0da03f0f3630705e3355fbca5cc44d5fd43.tar.gz
Typesetting fix for -r1.137.
If a tail queue is empty the return value of TAILQ_LAST is not undefined, it is NULL. Submitted by: Ruslan Ermilov <ru@FreeBSD.org>
Diffstat (limited to 'share/man/man3/queue.3')
-rw-r--r--share/man/man3/queue.36
1 files changed, 4 insertions, 2 deletions
diff --git a/share/man/man3/queue.3 b/share/man/man3/queue.3
index c4ba249..ee45e02 100644
--- a/share/man/man3/queue.3
+++ b/share/man/man3/queue.3
@@ -538,7 +538,8 @@ after the element
The macro
.Nm STAILQ_LAST
returns the last item on the tail queue.
-If the tail queue is empty the return value is NULL.
+If the tail queue is empty the return value is
+.Dv NULL .
.Pp
The macro
.Nm STAILQ_NEXT
@@ -899,7 +900,8 @@ before the element
The macro
.Nm TAILQ_LAST
returns the last item on the tail queue.
-If the tail queue is empty the return value is NULL.
+If the tail queue is empty the return value is
+.Dv NULL .
.Pp
The macro
.Nm TAILQ_NEXT
OpenPOWER on IntegriCloud