jruoho
b7b8493a00
Document the __builtin_prefetch() GNU extension.
2010-12-22 19:35:41 +00:00
jruoho
14755c98a1
Document the __builtin_types_compatible_p() GNU/GCC extension.
2010-12-21 15:05:02 +00:00
jruoho
b5b75a6230
Document __builtin_constant_p().
2010-12-19 10:07:23 +00:00
jruoho
b9d6470c45
Document the __builtin_return_address() GNU extension. Again this is well
...
justified due to the wide use of these non-standard extensions in the tree.
2010-12-19 09:30:49 +00:00
jruoho
c29a3eba93
Document the __alignof__ GNU extension.
2010-12-19 08:10:07 +00:00
jruoho
2daf152b55
There is no harm to add a manual page for the GNU typeof()-construct, given
...
that it has already crawled into the source tree.
2010-12-17 12:14:03 +00:00
jruoho
cc55e6fca5
Briefly describe __read_mostly and __cachline_aligned.
2010-12-17 08:13:09 +00:00
jruoho
52b33dcfd8
Add __insn_barrier(3). XXX: Someone more knowledgeable may want to check this.
2010-12-17 07:10:37 +00:00
jruoho
e4082b0bf6
Document __dead, __pure, __constfunc, __noinline, __unused, and __used.
2010-12-16 17:47:53 +00:00
jruoho
85e71b7d90
Now that <sys/cdefs.h> is mostly documented, include a small summary page
...
for it, cdefs(3).
2010-12-16 10:19:13 +00:00
jruoho
084bbf58ac
Start to document the GNU C attributes. For now, only __packed, __aligned,
...
and __section are documented, but I will keep extending this.
2010-12-16 08:35:35 +00:00
jruoho
9c53985f97
Add a manual page for the makedev(), major(), and minor() macros.
...
Taken from FreeBSD. Written by Ed Schouten.
2010-12-14 17:09:27 +00:00
jruoho
e7043d3268
Catch-up with code changes.
2010-10-24 06:57:04 +00:00
skrll
e6cdac9c4b
Implement dl_iterate_phdr.
...
Somewhat taken from FreeBSD. Manual page from OpenBSD.
2010-10-16 10:27:06 +00:00
jruoho
a88b2930dc
Document ilog2() from <sys/bitops.h>.
2010-06-08 08:51:08 +00:00
jruoho
9a92149c5d
Add sigevent(3), a manual page that describes the struct sigevent used by
...
the POSIX real time functions and timers.
XXX: (a) Needs to be modified once real time signals are supported.
(b) Could use an example.
2010-05-19 06:28:53 +00:00
jruoho
376c7b5fe6
Describe also the timespec() family of macros in timeradd(3).
2010-05-18 09:07:37 +00:00
jruoho
39a44ad3b2
Add a manual page that describes the basic structures in <sys/time.h>.
2010-05-17 07:10:15 +00:00
jruoho
15ccf6ccbe
As was done with the man-page for <sys/types.h>, move dir(5) to dirent(3).
...
Add a table describing the stat <-> dirent types. Note IFTODT() and DTTOIF().
2010-05-16 15:33:29 +00:00
jruoho
53a157cb98
Document ffs32(), ffs64(), fls32(), and fls64() from <sys/bitops.h>.
2010-04-28 07:35:30 +00:00
jruoho
526aa19c52
Rewrite types(5) as per perry@'s suggestion from few years back ("XXX this
...
document is rather musty. It needs a general update."). Also move it to the
right section from section 5. Ok wiz@.
To minimize maintenance costs, the content is mostly jargon around The
Standard. Only few NetBSD-specific types are mentioned as an example.
2010-04-22 06:48:28 +00:00
jruoho
71e904f60f
Document __STRING(x) and __CONCAT(x, y) from <sys/cdefs.h>.
2010-04-21 18:04:38 +00:00
jruoho
9e8e2a3402
Hook rb(3) to the build.
2010-04-13 10:46:10 +00:00
jruoho
df0a5adb89
Document <stdlib.h>.
...
Written with minimum maintenance costs in mind; only the defined types and
macros are described.
2010-03-25 06:56:20 +00:00
jruoho
08053de4ee
Document the weird <iso646.h>.
2010-03-21 21:23:51 +00:00
jruoho
04ca1e2ee6
Document <inttypes.h>.
2010-03-21 19:42:51 +00:00
jruoho
0e1ddcbafa
While at it, add also stddef(3).
2010-03-21 12:27:51 +00:00
jruoho
166c436957
As we have added stdint(3) and tgmath(3), we may as well add stdbool(3).
2010-03-21 11:12:52 +00:00
jruoho
a48c6c7a11
Add a manual page for <stdint.h>. From FreeBSD, by Mike Barcroft.
2010-03-20 16:33:51 +00:00
joerg
cd786ea4c3
Add man page for fast_divide32.
2010-03-19 20:11:21 +00:00
jruoho
513f4daa7e
Add tgmath(3). From FreeBSD.
...
XXX: Needs proofreading, Matt?
2010-03-01 16:36:15 +00:00
jruoho
cf30579851
Document __arraycount.
2010-03-01 16:02:34 +00:00
jruoho
7ba4dfa458
Document __UNCONST and __UNVOLATILE.
...
XXX: If there is anything to add or correct, please do so!
2010-03-01 13:44:09 +00:00
wiz
5905514238
Add offsetof(3) man page. From Thomas Pfaff via OpenBSD.
2010-02-27 22:04:37 +00:00
njoly
af1a17946d
Do not link timeradd.3 to itself.
2010-01-24 22:21:34 +00:00
jruoho
cc376dc80f
Add timeradd(3).
2010-01-24 21:05:45 +00:00
perry
088cca6a88
add missing MLINKS for bitstring.3
2009-04-04 01:45:18 +00:00
christos
0a69cbb3fd
steal the OpenBSD man page.
2008-06-20 14:34:20 +00:00
pooka
94e818b264
Add table which summarizes operations supported by each queue type.
...
from Stathis Kamperis in PR misc/36857
2007-08-29 13:43:18 +00:00
kiyohara
44c89c7646
Replace to Matthew Orgass's slhci(4).
...
http://mail-index.netbsd.org/tech-kern/2007/06/26/0001.html
2007-08-15 03:53:08 +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
rpaulo
9622c7ed25
Add sysexits.3
2005-09-30 20:55:26 +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
yamt
0a7c59f953
tree(3) manpage from OpenBSD.
2003-07-07 14:39:25 +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
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
lukem
179b47c97b
install all the macro links to queue.3 using the correct UPPER_CASE name
2001-10-22 04:37:57 +00:00
lukem
b206a768a3
add manual page for _DIAGASSERT(3)
2001-01-03 13:29:59 +00:00
ad
f3e1d1930e
PCVT is dead. From NAKAJIMA Yoshihiro <nakayosh@kcn.ne.jp>.
2000-08-03 09:42:52 +00:00