summaryrefslogtreecommitdiffstats
path: root/share/man/man3/queue.3 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Document STAILQ macros. OK mpi@ denis@ jmc@millert2020-12-301-17/+232
|
* Near the beginning of the DESCRIPTION, provide a tiny table showingschwarze2020-07-131-2/+12
| | | | | | which data structures provide which macros, which is otherwise a bit tedious to figure out given the length of the NAME section. Issue observed and patch OK'ed by kn@.
* espie@ pointed out this page failed to mention the lists are intrusive,schwarze2019-12-301-9/+18
| | | | | so add the term and very briefly describe the consequences; OK millert@ espie@ jmc@, also using input from guenther@
* TAILQ_CONCAT() takes 3 arguments.mpi2017-01-121-3/+3
|
* some Xr; from michal mazurekjmc2016-03-141-2/+4
|
* Add SIMPLEQ_CONCAT and TAILQ_CONCAT for moving one queue onto the endmillert2015-11-191-3/+33
| | | | of another one. Adapted from FreeBSD. OK jmc@ dlg@ nicm@
* update NAME section to include all documented functions,jmc2015-11-101-3/+3
| | | | | | or otherwise change Dt to reflect the name of an existing function; feedback/ok schwarze
* Added missing curly bracket into LIST_EMPTY example.tobias2015-10-101-3/+3
| | | | ok deraadt@, otto@
* Retire the CIRCLEQ_* and *_END macros here, noting why they were deprecated.guenther2014-09-131-263/+22
| | | | | kick started by Gre'goire Duche^ne <gduchene@awhk.org> ok millert@
* no longer any need to quote macro lines with >9 args;jmc2013-08-141-3/+3
| | | | From: Jan Stary
* use fancy .In macros for includes. from Jan Klemkow. ok jmc schwarzetedu2013-06-051-3/+3
|
* For macro arguments that are type or member names, consistentlyguenther2012-11-171-60/+60
| | | | | | | show them as a single word in the macro and _not_ as something that looks like a function argument (i.e., with declarator). ok beck@ schwarze@
* SLIST_REMOVE_NEXT -> SLIST_REMOVE_AFTER for better consistency andnaddy2012-04-111-21/+21
| | | | | | | compatibility with FreeBSD/NetBSD. Also rename SIMPLEQ_REMOVE_NEXT to SIMPLEQ_REMOVE_AFTER. ok mikeb@ guenther@
* Avoid warning from gcc in TAILQ usage example.haesbaert2012-03-061-3/+3
| | | | From Lawrence Teo.
* Mark the ..._FOREACH_SAFE macros consistently with .FN.bluhm2012-01-111-9/+12
| | | | | | FOREACH is a group of macros, do not use .FN. Put sentences belonging together into a common paragraph. ok jmc@
* Remove SLIST_FOREACH_PREVPTR from src tree, it is not used anymore.bluhm2012-01-111-13/+2
| | | | ok guenther@ deraadt@
* tweak previous;jmc2011-07-091-23/+38
|
* Document the newly added FOREACH_SAFE marcos.pirofti2011-07-091-21/+48
|
* Add a SIMPLEQ_REMOVE_NEXT() macro analogous to SLIST_REMOVE_NEXT().matthew2011-07-031-2/+10
| | | | ok krw@
* zap trailing whitespace;jmc2009-03-011-4/+4
|
* fix examples of list deletion to not leak memory.beck2009-02-251-8/+24
| | | | ok otto@ deraadt@ henning@ oga@
* Get TAILQ_REPLACE and CIRCLEQ_REPLACE prototypes right.stefan2008-07-271-4/+4
| | | | ok jaredy
* some missing bits; from Girish Venkatachalamjmc2008-03-311-3/+24
| | | | | | ok henning while here, clean up the queue MLINKS
* some fixes from Girish Venkatachalam; as far as i can see, otto has alreadyjmc2007-12-241-6/+8
| | | | ok'd this, but is obviously away in some winter wonderland...
* fix TAILQ_PREV; from Girish Venkatachalamjmc2007-12-161-2/+3
| | | | ok henning
* convert to new .Dd format;jmc2007-05-311-2/+2
|
* remove headp stuff, which is unused;jmc2006-01-121-4/+1
| | | | diff from ray lai; ok otto
* add an example of a singly-linked list;jmc2006-01-121-1/+24
| | | | | from ray lai; tweaked by otto and myself; ok otto
* missing full stop; from ray laijmc2006-01-111-2/+2
|
* fix typo; from ray lai;jmc2006-01-061-2/+2
| | | | ok mbalmer millert krw
* Avoid using queue internals in the examples, add a few rules tootto2005-10-271-11/+29
| | | | | follow in the NOTES section and an extra example. ok deraadt@ jmc@ jaredy@
* typojaredy2005-01-041-2/+2
|
* correct a mistake in a code example; diff from Lawrence Teo;jmc2004-08-161-2/+2
| | | | henning says it's correct;
* Sync man page with macros:jfb2004-06-031-5/+5
| | | | | | | - SIMPLEQ_INSERT_AFTER() takes 4 args (noticed by brad@ and jmc@) - SIMPLEQ_REMOVE_HEAD() has only 2 arguments ok jmc@
* swap the last two parameters to TAILQ_FOREACH_REVERSE. matches what FreeBSDhenning2004-04-081-3/+3
| | | | | and NetBSD do. ok millert@ mcbride@ markus@ ho@, checked to not affect ports by naddy@
* Add SLIST_FOREACH_PREVPTR and SLIST_REMOVE_NEXT. SLIST_FOREACH_PREVPTRmillert2003-12-161-1/+20
| | | | | | | | is like SLIST_FOREACH but it saves a pointer to the previous element. SLIST_REMOVE_NEXT will remove the element *after* the one passed in. SLIST_FOREACH_PREVPTR is from FreeBSD; SLIST_REMOVE_NEXT was suggested by canacar@; man page additions by yours truly. OK deraadt@ (grudgingly) and man page changes OK jmc@.
* Fix pasto in SLIST_REMOVE synopsis; deraadt@ OKmillert2003-12-051-2/+2
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-6/+2
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* typos;jmc2003-05-201-7/+7
|
* Emphasize that TAILQ_FOREACH and TAILQ_FOREACH_REVERSE are thekrw2003-05-171-15/+20
| | | | | | | | | | preferred ways to traverse a list. Use TAILQ_FOREACH in a forward traversal example. Use correct number of parameters for TAILQ_FOREACH_REVERSE as pointed out by Markus. ok henning@ jmc@ markus@
* fix an example on SIMPLEQ_REMOVE_HEAD(); from cjeker@diehard.n-r-g.commickey2003-04-161-2/+2
|
* Use "np != NULL", not just "np" in TAILQ example for consistencymillert2003-03-091-2/+2
| | | | (and style(9)); from Pedro Bastos
* s/TAIL_FIRST/TAILQ_FIRST/millert2003-01-151-2/+2
|
* document ALL the args to TAILQ_FOREACH_REVERSEmarc2002-12-071-2/+2
|
* Fix CIRCLEQ example; Hector A. Paternomillert2002-11-071-2/+2
|
* add missing `entry' parameter to LIST_NEXT() in the list freeing example.wcobb2002-04-261-2/+2
| | | | ok espie.
* Fix TAILQ_NEXT() example. First param is listelm, not head.krw2002-02-241-2/+2
|
* document SLIST_REMOVE; vedge@csoft.org (pr2373)jason2002-02-031-1/+11
|
* add lost .Nm entry to .Sh NAME;mpech2001-08-021-1/+2
| | | | millert@ ok.
* Document LIST_REPLACE()angelos2001-06-231-1/+11
|