Commit Graph

12 Commits

Author SHA1 Message Date
jym
8e2b504dac Small typo fix. 2011-04-30 19:34:10 +00:00
jruoho
e5c4609f82 Xref bitops(3). 2011-04-08 08:40:05 +00:00
jruoho
ec9cee68b7 Xref cdefs(3). 2010-12-16 10:40:04 +00:00
jruoho
4328a42a43 Replace the example with something more generic and perceptual. 2010-08-27 09:13:38 +00:00
dyoung
99289f936d Apparently, you have to #include <sys/param.h>, too, for MAX(). 2010-08-26 16:42:28 +00:00
jruoho
dd1725f2c7 Add a missing word introduced in the previous commit. Thanks, snj@. 2010-03-22 12:39:22 +00:00
jruoho
6cf60012b8 Small changes to wording and markup. 2010-03-22 08:04:25 +00:00
jruoho
2e269a8df5 Remove some /* comments */ in the example so that it will nicely fit into 80
columns.
2010-03-02 06:52:53 +00:00
rmind
993cb03302 Drop 3rd and 4th clauses from David Young's license.
Reviewed and approved by dyoung@ (copyright holder).
2009-10-19 23:19:37 +00:00
jnemeth
054e1e7507 PR/39381 - Taylor R Campbell -- missing line break causing funny formatting 2008-08-19 22:54:53 +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