summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/printf.3
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-12-18 12:45:11 +0000
committerru <ru@FreeBSD.org>2002-12-18 12:45:11 +0000
commit8746d263e1451855025dc83dde5176cc9f1fbe3f (patch)
treeee7f7ba4650cadf44410ca9a44676c72c96739b7 /lib/libc/stdio/printf.3
parent160081aef68b0dc49b79d3b7702b75671d9c06ff (diff)
downloadFreeBSD-src-8746d263e1451855025dc83dde5176cc9f1fbe3f.zip
FreeBSD-src-8746d263e1451855025dc83dde5176cc9f1fbe3f.tar.gz
mdoc(7) police: "The .Fn function".
Diffstat (limited to 'lib/libc/stdio/printf.3')
-rw-r--r--lib/libc/stdio/printf.316
1 files changed, 12 insertions, 4 deletions
diff --git a/lib/libc/stdio/printf.3 b/lib/libc/stdio/printf.3
index 3f8e640..f5848dd 100644
--- a/lib/libc/stdio/printf.3
+++ b/lib/libc/stdio/printf.3
@@ -74,9 +74,11 @@ The
family of functions produces output according to a
.Fa format
as described below.
-.Fn Printf
+The
+.Fn printf
and
.Fn vprintf
+functions
write output to
.Dv stdout ,
the standard output stream;
@@ -120,9 +122,11 @@ were unlimited
(again, not including the final
.Ql \e0 ) .
.Pp
-.Fn Asprintf
+The
+.Fn asprintf
and
.Fn vasprintf
+functions
set
.Fa *ret
to be a pointer to a buffer sufficiently large to hold the formatted string.
@@ -139,9 +143,11 @@ to be a
.Dv NULL
pointer.
.Pp
-.Fn Snprintf
+The
+.Fn snprintf
and
.Fn vsnprintf
+functions
will write at most
.Fa size Ns \-1
of the characters printed into the output string
@@ -155,9 +161,11 @@ argument, the string was too short
and some of the printed characters were discarded.
The output is always null-terminated.
.Pp
-.Fn Sprintf
+The
+.Fn sprintf
and
.Fn vsprintf
+functions
effectively assume an infinite
.Fa size .
.Pp
OpenPOWER on IntegriCloud