Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Document STAILQ macros. OK mpi@ denis@ jmc@ | 2020-12-30 | 1 | -17/+232 | |
| | |||||
* | Near the beginning of the DESCRIPTION, provide a tiny table showing | 2020-07-13 | 1 | -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, | 2019-12-30 | 1 | -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. | 2017-01-12 | 1 | -3/+3 | |
| | |||||
* | some Xr; from michal mazurek | 2016-03-14 | 1 | -2/+4 | |
| | |||||
* | Add SIMPLEQ_CONCAT and TAILQ_CONCAT for moving one queue onto the end | 2015-11-19 | 1 | -3/+33 | |
| | | | | of another one. Adapted from FreeBSD. OK jmc@ dlg@ nicm@ | ||||
* | update NAME section to include all documented functions, | 2015-11-10 | 1 | -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. | 2015-10-10 | 1 | -3/+3 | |
| | | | | ok deraadt@, otto@ | ||||
* | Retire the CIRCLEQ_* and *_END macros here, noting why they were deprecated. | 2014-09-13 | 1 | -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; | 2013-08-14 | 1 | -3/+3 | |
| | | | | From: Jan Stary | ||||
* | use fancy .In macros for includes. from Jan Klemkow. ok jmc schwarze | 2013-06-05 | 1 | -3/+3 | |
| | |||||
* | For macro arguments that are type or member names, consistently | 2012-11-17 | 1 | -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 and | 2012-04-11 | 1 | -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. | 2012-03-06 | 1 | -3/+3 | |
| | | | | From Lawrence Teo. | ||||
* | Mark the ..._FOREACH_SAFE macros consistently with .FN. | 2012-01-11 | 1 | -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. | 2012-01-11 | 1 | -13/+2 | |
| | | | | ok guenther@ deraadt@ | ||||
* | tweak previous; | 2011-07-09 | 1 | -23/+38 | |
| | |||||
* | Document the newly added FOREACH_SAFE marcos. | 2011-07-09 | 1 | -21/+48 | |
| | |||||
* | Add a SIMPLEQ_REMOVE_NEXT() macro analogous to SLIST_REMOVE_NEXT(). | 2011-07-03 | 1 | -2/+10 | |
| | | | | ok krw@ | ||||
* | zap trailing whitespace; | 2009-03-01 | 1 | -4/+4 | |
| | |||||
* | fix examples of list deletion to not leak memory. | 2009-02-25 | 1 | -8/+24 | |
| | | | | ok otto@ deraadt@ henning@ oga@ | ||||
* | Get TAILQ_REPLACE and CIRCLEQ_REPLACE prototypes right. | 2008-07-27 | 1 | -4/+4 | |
| | | | | ok jaredy | ||||
* | some missing bits; from Girish Venkatachalam | 2008-03-31 | 1 | -3/+24 | |
| | | | | | | ok henning while here, clean up the queue MLINKS | ||||
* | some fixes from Girish Venkatachalam; as far as i can see, otto has already | 2007-12-24 | 1 | -6/+8 | |
| | | | | ok'd this, but is obviously away in some winter wonderland... | ||||
* | fix TAILQ_PREV; from Girish Venkatachalam | 2007-12-16 | 1 | -2/+3 | |
| | | | | ok henning | ||||
* | convert to new .Dd format; | 2007-05-31 | 1 | -2/+2 | |
| | |||||
* | remove headp stuff, which is unused; | 2006-01-12 | 1 | -4/+1 | |
| | | | | diff from ray lai; ok otto | ||||
* | add an example of a singly-linked list; | 2006-01-12 | 1 | -1/+24 | |
| | | | | | from ray lai; tweaked by otto and myself; ok otto | ||||
* | missing full stop; from ray lai | 2006-01-11 | 1 | -2/+2 | |
| | |||||
* | fix typo; from ray lai; | 2006-01-06 | 1 | -2/+2 | |
| | | | | ok mbalmer millert krw | ||||
* | Avoid using queue internals in the examples, add a few rules to | 2005-10-27 | 1 | -11/+29 | |
| | | | | | follow in the NOTES section and an extra example. ok deraadt@ jmc@ jaredy@ | ||||
* | typo | 2005-01-04 | 1 | -2/+2 | |
| | |||||
* | correct a mistake in a code example; diff from Lawrence Teo; | 2004-08-16 | 1 | -2/+2 | |
| | | | | henning says it's correct; | ||||
* | Sync man page with macros: | 2004-06-03 | 1 | -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 FreeBSD | 2004-04-08 | 1 | -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_PREVPTR | 2003-12-16 | 1 | -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@ OK | 2003-12-05 | 1 | -2/+2 | |
| | |||||
* | Remove the advertising clause in the UCB license which Berkeley | 2003-06-02 | 1 | -6/+2 | |
| | | | | rescinded 22 July 1999. Proofed by myself and Theo. | ||||
* | typos; | 2003-05-20 | 1 | -7/+7 | |
| | |||||
* | Emphasize that TAILQ_FOREACH and TAILQ_FOREACH_REVERSE are the | 2003-05-17 | 1 | -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.com | 2003-04-16 | 1 | -2/+2 | |
| | |||||
* | Use "np != NULL", not just "np" in TAILQ example for consistency | 2003-03-09 | 1 | -2/+2 | |
| | | | | (and style(9)); from Pedro Bastos | ||||
* | s/TAIL_FIRST/TAILQ_FIRST/ | 2003-01-15 | 1 | -2/+2 | |
| | |||||
* | document ALL the args to TAILQ_FOREACH_REVERSE | 2002-12-07 | 1 | -2/+2 | |
| | |||||
* | Fix CIRCLEQ example; Hector A. Paterno | 2002-11-07 | 1 | -2/+2 | |
| | |||||
* | add missing `entry' parameter to LIST_NEXT() in the list freeing example. | 2002-04-26 | 1 | -2/+2 | |
| | | | | ok espie. | ||||
* | Fix TAILQ_NEXT() example. First param is listelm, not head. | 2002-02-24 | 1 | -2/+2 | |
| | |||||
* | document SLIST_REMOVE; vedge@csoft.org (pr2373) | 2002-02-03 | 1 | -1/+11 | |
| | |||||
* | add lost .Nm entry to .Sh NAME; | 2001-08-02 | 1 | -1/+2 | |
| | | | | millert@ ok. | ||||
* | Document LIST_REPLACE() | 2001-06-23 | 1 | -1/+11 | |
| |