Commit Graph

32 Commits

Author SHA1 Message Date
ragge cd3e4762f1 Fix CIRCLEQ example bug, from Peter A Jonsson. 2005-01-13 15:13:10 +00:00
lukem 2f6ed1a801 Reorder macros within a queue type to match queue.h definition order.
Document STAILQ_* as compatibility macros for SIMPLEQ_*.
Document TAILQ_LAST and TAILQ_PREV.
2004-04-18 23:39:13 +00:00
wiz 6314ad1118 Bump date for pooka. 2004-04-13 20:40:26 +00:00
pooka d729cba0a7 Note that SLISTs came from FreeBSD to give people an idea that
they're not necessarily a part of 4.4BSD derived implementations.
2004-04-13 10:39:29 +00:00
agc 075022b349 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22309, verified by myself.
2003-08-07 10:30:41 +00:00
wiz 4e4095f195 Grammar fix, from jmc@openbsd. 2003-05-20 10:10:23 +00:00
wiz 472351e13d Use
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.
2003-04-16 13:34:34 +00:00
lukem 06de426449 SIMPLEQ rototill:
- implement SIMPLEQ_REMOVE(head, elm, type, field).  whilst it's O(n),
  this mirrors the functionality of SLIST_REMOVE() (the other
  singly-linked list type) and FreeBSD's STAILQ_REMOVE()
- remove the unnecessary elm arg from SIMPLEQ_REMOVE_HEAD().
  this mirrors the functionality of SLIST_REMOVE_HEAD() (the other
  singly-linked list type) and FreeBSD's STAILQ_REMOVE_HEAD()
- remove notes about SIMPLEQ not supporting arbitrary element removal
- use SIMPLEQ_FOREACH() instead of home-grown for loops
- use SIMPLEQ_EMPTY() appropriately
- use SIMPLEQ_*() instead of accessing sqh_first,sqh_last,sqe_next directly
- reorder manual page; be consistent about how the types are listed
- other minor cleanups
2002-06-01 23:50:52 +00:00
lukem 874c812dae correct descriptions of SLIST_REMOVE_HEAD() and SIMPLEQ_REMOVE_HEAD() 2002-06-01 06:08:07 +00:00
ross 4fa402f116 Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-13 08:17:26 +00:00
wiz 384ddf7036 s/All four/All five/ 2002-02-07 17:15:23 +00:00
wiz c412168bcf Drop unneeded empty line. 2001-09-11 16:52:42 +00:00
wiz 26f252121f Typo/whitespace fix. 2001-06-24 01:32:29 +00:00
wiz fe1228d3e1 Fix description of simple queue. misc/12917 by Witold J. Wnuk with an
additional 'of '.
2001-05-12 16:04:51 +00:00
enami 4c050f052a Subst head.cqh_first with CIRCLEQ_FIRST(&head) instead of CIRCLEQ_HEAD.
Pointed out by Tim on icb sometimes ago (iirc).
2001-02-11 03:22:46 +00:00
deberg 4c51b74b03 document the singly-linked list macros brought in last year. also
document FOREACH_*{,_REVERSE}, to be added to queue.h shortly.

random cleanups and clarifications, mostly from the freebsd queue.3
2000-07-20 03:19:18 +00:00
mycroft 804b61073e One more formatting nit. *sigh* 2000-05-27 22:34:24 +00:00
mycroft a05c70639c Update the date. 2000-05-27 22:31:57 +00:00
mycroft 89e229d95c Fix formatting error. 2000-05-27 22:29:03 +00:00
mycroft 8d9497c3e3 Document *_EMPTY(). 2000-05-27 22:27:33 +00:00
enami 82d7115cf2 Don't pass so many args to .Nd macro. It just overflows. 1999-11-19 01:12:39 +00:00
garbled 5b40cb5777 First round of .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Many more to
come.
1999-03-15 08:22:20 +00:00
perry 34a98169f0 macroize BSD, NetBSD, FreeBSD and misc cleanup 1998-02-06 05:54:12 +00:00
thorpej dcbd40b724 Document new queue access methods. 1998-01-05 06:28:04 +00:00
christos 68727e364e PR/4126: Luke Mewburn: queue(3) doesn't document SIMPLEQ_* 1997-09-30 16:49:17 +00:00
cgd c917dfb5b2 Fix broken uses of Dd. Both the mdoc and mdoc.samples pages agree:
.Dd is supposed to be invoked like:
	.Dd month day, year
e.g. ".Dd January 25, 1989", rather than:
	.Dd "month day, year"
which is what these pages did.
1997-05-29 01:48:05 +00:00
cgd ed72b85031 add and document *_HEAD_INITIALIZER macros, which provide structure
initializers which can be used to initialize list/queue heads at
compile time.
1996-10-01 22:45:06 +00:00
mycroft b545b9db88 Document {LIST,TAILQ}_INSERT_BEFORE(). 1995-07-03 00:25:36 +00:00
mycroft 73a1524a19 Document {LIST,TAILQ}_INSERT_BEFORE(). 1995-07-03 00:20:18 +00:00
jtc ee52468ada Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1994-11-30 15:24:27 +00:00
jtc 1c8c503497 imported from 4.4lite 1994-11-30 08:36:46 +00:00
cgd 630651b7b0 queue.h from 4.4, from Bostic 1993-12-21 01:55:03 +00:00