From c4e29cccdda6be24f32c3593b19ce12079ca6fe7 Mon Sep 17 00:00:00 2001 From: Kirk McKusick Date: Wed, 22 Mar 2006 02:40:38 +0000 Subject: [PATCH] If a tail queue is empty the return value is not undefined, it is NULL. --- share/man/man3/queue.3 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/man/man3/queue.3 b/share/man/man3/queue.3 index 621b63be7aa..c4ba2495060 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