summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2000-11-09 23:34:39 +0000
committeralfred <alfred@FreeBSD.org>2000-11-09 23:34:39 +0000
commitefbddcfcf2a0bb14602959b10bd28c40d29b8e85 (patch)
tree206ff86dbf869fea2a52a64db97d94ec9d012975
parent3e00e58ccaff89650d8b9644f7eeed11cf1aaf07 (diff)
downloadFreeBSD-src-efbddcfcf2a0bb14602959b10bd28c40d29b8e85.zip
FreeBSD-src-efbddcfcf2a0bb14602959b10bd28c40d29b8e85.tar.gz
Manpage incorrectly states that STAILQ_REMOVE_HEAD takes an arg
called 'elm'. It doesn't take an arg 'elm', it simply removes the element at the head of the list.
-rw-r--r--share/man/man3/queue.34
1 files changed, 1 insertions, 3 deletions
diff --git a/share/man/man3/queue.3 b/share/man/man3/queue.3
index fd8d774..b91da86 100644
--- a/share/man/man3/queue.3
+++ b/share/man/man3/queue.3
@@ -540,9 +540,7 @@ returns the next item on the tail queue, or NULL this item is the last.
.Pp
The macro
.Nm STAILQ_REMOVE_HEAD
-removes the element
-.Fa elm
-from the head of the tail queue.
+removes the element at the head of the tail queue.
For optimum efficiency,
elements being removed from the head of the tail queue should
use this macro explicitly rather than the generic
OpenPOWER on IntegriCloud