diff options
| author | Ruslan Ermilov <ru@FreeBSD.org> | 2002-12-18 12:45:11 +0000 |
|---|---|---|
| committer | Ruslan Ermilov <ru@FreeBSD.org> | 2002-12-18 12:45:11 +0000 |
| commit | 1fae73b137bfc5a237d7258e3c667ba87a36b7ff (patch) | |
| tree | ee7f7ba4650cadf44410ca9a44676c72c96739b7 /lib/libc/stdio/printf.3 | |
| parent | 68eec1f80cd88e91cb92d06ce4ae75fc5077ab13 (diff) | |
Notes
Diffstat (limited to 'lib/libc/stdio/printf.3')
| -rw-r--r-- | lib/libc/stdio/printf.3 | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/lib/libc/stdio/printf.3 b/lib/libc/stdio/printf.3 index 3f8e6407112c..f5848dd9ff27 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 |
