aboutsummaryrefslogtreecommitdiffstats
path: root/man7/queue.7
diff options
context:
space:
mode:
authorAlejandro Colomar <alx.manpages@gmail.com>2021-02-15 17:32:37 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2021-02-15 21:31:33 +0100
commit9f80f9e34af5323a8c40075195bf376ae91f0473 (patch)
tree8e355797a2eacba10359e4586c2f564f93d3eaa3 /man7/queue.7
parentde85f9235dcb8c47460e78ebeafbe2f9155f7efc (diff)
downloadman-pages-9f80f9e34af5323a8c40075195bf376ae91f0473.tar.gz
simpleq.3, stailq.3, queue.7, SIMPLEQ_*.3: Document SIMPLEQ_*() as an alias to STAILQ_*() macros
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man7/queue.7')
-rw-r--r--man7/queue.79
1 files changed, 9 insertions, 0 deletions
diff --git a/man7/queue.7 b/man7/queue.7
index f92887a369..c3facafd07 100644
--- a/man7/queue.7
+++ b/man7/queue.7
@@ -138,6 +138,15 @@ Not in POSIX.1, POSIX.1-2001, or POSIX.1-2008.
Present on the BSDs.
.I <sys/queue.h>
macros first appeared in 4.4BSD.
+.SH NOTES
+Some BSDs provide SIMPLEQ instead of STAILQ.
+They are identical, but for historical reasons
+they were named differently on different BSDs.
+STAILQ originated on FreeBSD, and SIMPLEQ originated on NetBSD.
+For compatibility reasons, some systems provide both sets of macros.
+Glibc provides both STAILQ and SIMPLEQ,
+which are identical except for a missing SIMPLEQ equivalent to
+.BR STAILQ_CONCAT ().
.SH SEE ALSO
.BR circleq (3),
.BR insque (3),