diff options
author | rsc <devnull@localhost> | 2004-04-11 03:42:27 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2004-04-11 03:42:27 +0000 |
commit | bf8a59fa013f5c705369fbe14e23ca78c4d09cb8 (patch) | |
tree | 2f8a9e329e05288a17fa7e4024199b0af2327b3d /man/man3/fmtinstall.3 | |
parent | cfa37a7b1131abbab2e7d339b451f5f0e3198cc8 (diff) | |
download | plan9port-bf8a59fa013f5c705369fbe14e23ca78c4d09cb8.tar.gz plan9port-bf8a59fa013f5c705369fbe14e23ca78c4d09cb8.tar.bz2 plan9port-bf8a59fa013f5c705369fbe14e23ca78c4d09cb8.zip |
Rewrite page(2) references to page(3).
Add description of new libmach.
Diffstat (limited to 'man/man3/fmtinstall.3')
-rw-r--r-- | man/man3/fmtinstall.3 | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/man/man3/fmtinstall.3 b/man/man3/fmtinstall.3 index 90d487db..49833999 100644 --- a/man/man3/fmtinstall.3 +++ b/man/man3/fmtinstall.3 @@ -94,16 +94,16 @@ int fmtrunestrcpy(Fmt *f, Rune *s); int errfmt(Fmt *f); .SH DESCRIPTION The interface described here allows the construction of custom -.IR print (2) +.IR print (3) verbs and output routines. In essence, they provide access to the workings of the formatted print code. .PP The -.IR print (2) +.IR print (3) suite maintains its state with a data structure called .BR Fmt . A typical call to -.IR print (2) +.IR print (3) or its relatives initializes a .B Fmt structure, passes it to subsidiary routines to process the output, @@ -154,7 +154,7 @@ to generate the output. These behave like .B fprint (see -.IR print (2)) +.IR print (3)) or .B vfprint except that the characters are buffered until @@ -207,7 +207,7 @@ In are the width and precision, and .IB fp ->flags the decoded flags for the verb (see -.IR print (2) +.IR print (3) for a description of these items). The standard flag values are: .B FmtSign @@ -282,7 +282,7 @@ produced. .PP Some internal functions may be useful to format primitive types. They honor the width, precision and flags as described in -.IR print (2). +.IR print (3). .I Fmtrune formats a single character .BR r . @@ -307,7 +307,7 @@ that can be used to provide type-checking for custom print verbs and output rout This function prints an error message with a variable number of arguments and then quits. Compared to the corresponding example in -.IR print (2), +.IR print (3), this version uses a smaller buffer, will never truncate the output message, but might generate multiple .B write @@ -364,9 +364,9 @@ main(...) .SH SOURCE .B /sys/src/libc/fmt .SH SEE ALSO -.IR print (2), +.IR print (3), .IR utf (6), -.IR errstr (2) +.IR errstr (3) .SH DIAGNOSTICS These routines return negative numbers or nil for errors and set .IR errstr . |