summaryrefslogtreecommitdiffstats
path: root/share/man/man3/queue.3
diff options
context:
space:
mode:
authormckusick <mckusick@FreeBSD.org>2006-03-22 02:40:38 +0000
committermckusick <mckusick@FreeBSD.org>2006-03-22 02:40:38 +0000
commit49444cf98e5e796e0c4a7679c1fc72597791656e (patch)
tree48005d0e6447a43a94c0b59d07b3ac38ad3519aa /share/man/man3/queue.3
parente6e3da5866ee15452d27cc5bb6bf2ce779bc4d01 (diff)
downloadFreeBSD-src-49444cf98e5e796e0c4a7679c1fc72597791656e.zip
FreeBSD-src-49444cf98e5e796e0c4a7679c1fc72597791656e.tar.gz
If a tail queue is empty the return value is not
undefined, it is NULL.
Diffstat (limited to 'share/man/man3/queue.3')
-rw-r--r--share/man/man3/queue.34
1 files changed, 2 insertions, 2 deletions
diff --git a/share/man/man3/queue.3 b/share/man/man3/queue.3
index 621b63b..c4ba249 100644
--- a/share/man/man3/queue.3
+++ b/share/man/man3/queue.3
@@ -538,7 +538,7 @@ 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 undefined.
+If the tail queue is empty the return value is NULL.
.Pp
The macro
.Nm STAILQ_NEXT
@@ -899,7 +899,7 @@ 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 undefined.
+If the tail queue is empty the return value is NULL.
.Pp
The macro
.Nm TAILQ_NEXT
OpenPOWER on IntegriCloud