projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix rest of Chris' bugs, mostly sign and padding placement
[unix-history]
/
usr
/
src
/
lib
/
libc
/
stdio
/
printf.3
diff --git
a/usr/src/lib/libc/stdio/printf.3
b/usr/src/lib/libc/stdio/printf.3
index
d016f55
..
d1beb04
100644
(file)
--- a/
usr/src/lib/libc/stdio/printf.3
+++ b/
usr/src/lib/libc/stdio/printf.3
@@
-1,4
+1,4
@@
-.\" @(#)printf.3 6.
3
(Berkeley) %G%
+.\" @(#)printf.3 6.
4
(Berkeley) %G%
.\"
.TH PRINTF 3S ""
.AT 3
.\"
.TH PRINTF 3S ""
.AT 3
@@
-246,7
+246,10
@@
Characters generated by
are printed by
.IR putc (3S).
.PP
are printed by
.IR putc (3S).
.PP
-.B Examples
+.SH "RETURN VALUE"
+The functions \fIprintf\fP, \fIfprintf\fP, and \fIsprintf\fP return
+the number of characters printf, or -1 if an error occurred.
+.SH EXAMPLES
.br
To print a date and time in the form `Sunday, July 3, 10:02',
where
.br
To print a date and time in the form `Sunday, July 3, 10:02',
where