summaryrefslogtreecommitdiff
path: root/lib/libc/stdio
diff options
context:
space:
mode:
authorGregory Neil Shapiro <gshapiro@FreeBSD.org>2001-06-06 03:24:13 +0000
committerGregory Neil Shapiro <gshapiro@FreeBSD.org>2001-06-06 03:24:13 +0000
commit120bca8bedef7a41b19beab580391ecacfa7061e (patch)
treebe88d7983e63381a72f7f6eb7091c16e248c8f72 /lib/libc/stdio
parentc9322316882906bb14c4f63e11e1abfb9c3a09fb (diff)
Notes
Diffstat (limited to 'lib/libc/stdio')
-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 9d311b1c6686..60d8b5fd3900 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