mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-20 23:35:02 +00:00
If a tail queue is empty the return value is not
undefined, it is NULL.
This commit is contained in:
parent
3ee42667a4
commit
c4e29cccdd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=156983
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue