aboutsummaryrefslogtreecommitdiffstats
path: root/man3
diff options
context:
space:
mode:
Diffstat (limited to 'man3')
-rw-r--r--man3/queue.312
1 files changed, 0 insertions, 12 deletions
diff --git a/man3/queue.3 b/man3/queue.3
index ff1f42f3a9..260a5b8a5e 100644
--- a/man3/queue.3
+++ b/man3/queue.3
@@ -1219,18 +1219,6 @@ while (n1 != NULL) {
}
TAILQ_INIT(&head);
-n2 = malloc(sizeof(struct entry)); /* Insert before. */
-CIRCLEQ_INSERT_BEFORE(&head, n1, n2, entries);
- /* Forward traversal. */
-for (np = head.cqh_first; np != (void *)&head;
- np = np\->entries.cqe_next)
- np\-> ...
- /* Reverse traversal. */
-for (np = head.cqh_last; np != (void *)&head; np = np\->entries.cqe_prev)
- np\-> ...
- /* Delete. */
-while (head.cqh_first != (void *)&head)
- CIRCLEQ_REMOVE(&head, head.cqh_first, entries);
.Ed
.Sh CONFORMING TO
Not in POSIX.1, POSIX.1-2001 or POSIX.1-2008.