Commit Graph

16 Commits

Author SHA1 Message Date
pgoyette
bd138fb723 Update example using hex-escape-sequences to conform to gcc parsing rules.
(See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33167 for details.)
2013-08-07 23:22:28 +00:00
pgoyette
2b1dd3a597 Add an example using snprintb_m()
Replace \*[Gt] and \*[Lt] with the simple characters > and < (OK wiz)

XXX Note that the examples currently do not compile with GCC!  The hex
XXX character sequences such as \x10CACHE are being parsed as longer
XXX than 2-hex-digit strings!
2013-08-07 22:51:59 +00:00
pgoyette
28469fc250 Implement snprintb_m(3) to provide multi-line bit/bit-field decode.
Discussed on tech-kern.
2009-05-13 02:50:31 +00:00
pgoyette
5fae2745d1 Update type of argument 4 from u_quad_t to uint64_t to match the actual
implementation.
2009-05-05 13:12:25 +00:00
uebayasi
df37ad1752 Correct the order of arguments in EXAMPLE. Bump date. 2009-03-26 05:00:10 +00:00
wiz
38d39e864c Fix deleto in previous. 2008-12-23 21:46:13 +00:00
christos
9cd6b6e766 fix argument order in example. 2008-12-23 20:53:31 +00:00
wiz
78f0ebffc8 Re-add LIBRARY section. 2008-12-17 14:05:23 +00:00
wiz
f1c9faeb9d Fix some minor mdoclint complaints. 2008-12-17 10:39:22 +00:00
christos
930983f9c3 use the bitmask_snprintf info which is more complete, and adjust it for
reality.
2008-12-16 23:19:16 +00:00
martin
11a6dbe728 Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +00:00
peter
192aae95b5 Add missing LIBRARY section.
ok wiz@
2004-12-01 00:06:46 +00:00
christos
6845cdfbb8 fix the header. 2004-11-21 03:04:14 +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
wiz
27adb020b8 New sentence, new line. From Robert Elz. 2002-10-01 19:36:30 +00:00
christos
4ac3045a5a Add snprintb(3) inspired from bitmask_snprintf(9), but made to look like
more like snprintf(3). Discussed with thorpej.
2002-09-20 21:10:10 +00:00