summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/printf.3
diff options
context:
space:
mode:
authorGregory Neil Shapiro <gshapiro@FreeBSD.org>2001-05-30 23:47:14 +0000
committerGregory Neil Shapiro <gshapiro@FreeBSD.org>2001-05-30 23:47:14 +0000
commit1259dd85eb36dd5d5e605bd42d3acf3d96bf6f6f (patch)
tree7f3db5c8aabfa304681ea2ac07fb9052b163c85f /lib/libc/stdio/printf.3
parent1c11b01562d47db37e0f523fdb507f39233a69f1 (diff)
Notes
Diffstat (limited to 'lib/libc/stdio/printf.3')
-rw-r--r--lib/libc/stdio/printf.313
1 files changed, 12 insertions, 1 deletions
diff --git a/lib/libc/stdio/printf.3 b/lib/libc/stdio/printf.3
index 590c1c0bfddb..722f351ca3cb 100644
--- a/lib/libc/stdio/printf.3
+++ b/lib/libc/stdio/printf.3
@@ -118,7 +118,18 @@ These functions return
the number of characters printed
(not including the trailing
.Ql \e0
-used to end output to strings).
+used to end output to strings),
+except for
+.Fn snprintf
+and
+.Fn vsnprintf ,
+which return the number of characters that would have been printed if the
+.Fa size
+were unlimited
+.Po
+again, not including the final
+.Ql \e0
+.Pc .
.Pp
.Fn Asprintf
and