Commit Graph

126 Commits

Author SHA1 Message Date
wiz
a297486471 Sort SEE ALSO. 2007-01-23 20:32:05 +00:00
jdc
3cfa1eec0a Add additional cross-references (from Slava Semushin). 2007-01-22 11:57:44 +00:00
wiz
6fb7165c7f Sort sections. Remove unnecessary quotes. Use macros for <>
for HTML output. Some nits.
2006-09-03 00:04:02 +00:00
dyoung
8cd106d3d2 Per discussion on tech-kern and tech-userlevel, move the bit-twiddling
macros, __BIT, __BITS, SHIFTIN, SHIFTOUT, and __arraycount() from
lib/libkern/libkern.h to sys/cdefs.h.  Add a __-prefix to SHIFTIN
and SHIFTOUT, and add a manual page for the bit-twiddling macros,
bits(3).

Make the __BIT and __BITS macros "widthless," as best I can, by
changing their type to uintmax_t from uint32_t.  XXX The manual
page lags this change by a bit.

Define __PRIxBIT and __PRIxBITS printf(3) format strings.
2006-08-31 19:24:37 +00:00
pooka
cbb99f35f7 document CIRCLEQ_LOOP 2006-03-07 18:13:43 +00:00
pooka
6db9fd4698 * CICRLEQ -> CIRCLEQ in some places (it's much easier to pronounce)
* be more explicit that CIRCLEQ_FOREACH{,_REVERSE) traverse the queue
  exactly once
2005-12-15 11:41:58 +00:00
wiz
4785baa84f Use Dv instead of Sy for macros.
Do not Xr to ourselves, use .Nm instead.
2005-10-03 19:16:35 +00:00
rpaulo
9622c7ed25 Add sysexits.3 2005-09-30 20:55:26 +00:00
rpaulo
13419de87f Add a manual page for <sysexists.h>, from FreeBSD with a minor
adjustments (removed reference to the style(9) man page added NetBSD
to the HISTORY section) by me.
2005-09-30 20:54:58 +00:00
kleink
d272861eb2 In the wake of C99 (which dropped the implicit int), add a type specifier
to the declarations to keep them warning-free; also add some clarifying
words that the globals are _located at_ those addresses.

Inspired by a conversation with Takayoshi Kochi.
2005-09-01 12:39:33 +00:00
kleink
d5d8554049 Add restrict qualifiers to dlsym() (XSI) and dladdr() arguments. 2005-03-21 13:25:22 +00:00
wiz
34c1c241e2 Quote dot at beginning of line, otherwise it will be interpreted
as the start of a macro. From jmc@openbsd.
2005-03-08 10:53:34 +00:00
ragge
cd3e4762f1 Fix CIRCLEQ example bug, from Peter A Jonsson. 2005-01-13 15:13:10 +00:00
snj
1a1000bb12 Kill an unnecessary argument to Nm. 2005-01-09 06:35:30 +00:00
jmmv
69a6878485 Fix typo. 2004-11-11 14:47:02 +00:00
wiz
9ce65744fa Fix typo, and comment out link to non-existing usb(3); from Sergey Svishchev. 2004-11-10 16:38:29 +00:00
wiz
4172541e76 Add dladdr to NAME; fix type of dli_saddr; from Sergey Svishchev. 2004-11-10 16:37:19 +00:00
wiz
0cef3f7ca0 Add bit_ffc to NAME; sort functions in SYNOPSIS; from Sergey Svishchev. 2004-11-10 16:36:28 +00:00
snj
60a7c7cacc Fix two trailing xrefs and kill an unnecessary argument to Nm. 2004-10-16 06:01:52 +00:00
lukem
a90e0c0e64 Add MLINKS for:
CIRCLEQ_FOREACH(3) CIRCLEQ_FOREACH_REVERSE(3)
	LIST_FOREACH(3)
	SIMPLEQ_FOREACH(3)
	SLIST_EMPTY(3) SLIST_ENTRY(3) SLIST_FIRST(3) SLIST_FOREACH(3)
	SLIST_HEAD(3) SLIST_HEAD_INITIALIZER(3) SLIST_INIT(3)
	SLIST_INSERT_AFTER(3) SLIST_INSERT_HEAD(3) SLIST_NEXT(3)
	SLIST_REMOVE(3) SLIST_REMOVE_HEAD(3)
	STAILQ_EMPTY(3) STAILQ_ENTRY(3) STAILQ_FIRST(3) STAILQ_FOREACH(3)
	STAILQ_HEAD(3) STAILQ_HEAD_INITIALIZER(3) STAILQ_INIT(3)
	STAILQ_INSERT_AFTER(3) STAILQ_INSERT_HEAD(3) STAILQ_INSERT_TAIL(3)
	STAILQ_NEXT(3) STAILQ_REMOVE(3) STAILQ_REMOVE_HEAD(3)
	TAILQ_FOREACH(3) TAILQ_FOREACH_REVERSE(3) TAILQ_LAST(3) TAILQ_PREV(3)
2004-04-18 23:42:23 +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
pooka
0ee5148aa5 Rather than using RB_EMPTY() for checking if a splay tree is empty,
suggest using it for checking if a red-black tree is empty.
2004-04-14 11:05:19 +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
snj
17709cebba Err, nevermind. 2004-03-20 05:03:32 +00:00
snj
11aab027f7 Correct usb Xref. 2004-03-20 05:02:00 +00:00
wiz
dca9ccd375 Use St -isoC-9X instead of St -isoC9X, to be in sync with groff. 2003-09-08 17:54:31 +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
d3d460c513 Nd argument needs no quotes; use .In instead of .Fd ...; mark up
NULL as Dv instead of Va (it's not really variable, is it? :) ).
Replace & with \*[Am].
2003-07-09 14:40:53 +00:00
yamt
0a7c59f953 tree(3) manpage from OpenBSD. 2003-07-07 14:39:25 +00:00
lukem
10e23cd129 The actual environment variable is LIBC_DIAGASSERT' not LIBC_DIAGNOSTIC'.
Spotted by Nathan Williams < nathanw @ >.
2003-06-27 00:04:34 +00:00
wiz
4e4095f195 Grammar fix, from jmc@openbsd. 2003-05-20 10:10:23 +00:00
wiz
e2b9f7144c Use .In instead of .Fd. 2003-04-16 16:09:04 +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
perry
29c2683224 preceeding->preceding, from Igor Sobrado PR misc/19814 2003-03-31 18:56:13 +00:00
yamt
d43d55bc3a mention argument promotion and change example
as well.
from OpenBSD.
2002-08-18 08:57:07 +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
7d3c2b8400 Drop some trailing whitespace. 2002-02-06 19:29:06 +00:00
kleink
e930ad8aed KNF example code snippet. 2002-02-05 01:47:42 +00:00
kleink
d4e99a46ec Add a separate varargs(3) manual page, reusing stdarg(3) contents, and
remove the name `varargs' from stdarg(3); inspired by conversation with
Charles Hannum.
2002-02-04 20:09:46 +00:00
kleink
1b7ae2b741 While va_{start,arg,end} conform to ISO C90, they were certainly not
introduced in there but ANSI C; pointed out by Charles.
2002-02-04 18:27:38 +00:00
wiz
c90ca864f2 Fix typo in macro. 2002-01-21 18:03:59 +00:00
gmcgarry
3a3e29d852 General cleanup; xref kafs(3) 2001-11-23 07:45:54 +00:00
gmcgarry
30a683b2cc - Xr cdk(3), for what is worth
- describe libposix with xrefs
2001-11-23 07:18:52 +00:00
gmcgarry
a81a662c06 Xref util.3 2001-11-23 06:22:24 +00:00
gmcgarry
3b6720fee9 xref com_err(3) 2001-11-21 05:45:10 +00:00
gmcgarry
22d5bd5eb8 - cross-reference skey(3)
- relegate FILES section to library pages
2001-11-10 06:32:37 +00:00