diff options
| author | yamt <yamt@NetBSD.org> | 2008-12-11 04:30:57 +0000 |
|---|---|---|
| committer | yamt <yamt@NetBSD.org> | 2008-12-11 04:30:57 +0000 |
| commit | ad61a2c71e6535ce2ef3231c14b60ce38bbe8665 (patch) | |
| tree | 725cbd723e27c6bbee123c3f63233161bbf90a3e /lib/libc/stdio/printf.3 | |
| parent | 5a186cb789c1535579386d0b5529e61734788a1d (diff) | |
move a description of return values into the RETURN VALUES section.
Diffstat (limited to 'lib/libc/stdio/printf.3')
| -rw-r--r-- | lib/libc/stdio/printf.3 | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/libc/stdio/printf.3 b/lib/libc/stdio/printf.3 index 997b67d41e5..de4f60eb337 100644 --- a/lib/libc/stdio/printf.3 +++ b/lib/libc/stdio/printf.3 @@ -1,4 +1,4 @@ -.\" $NetBSD: printf.3,v 1.44 2007/06/09 18:51:19 christos Exp $ +.\" $NetBSD: printf.3,v 1.45 2008/12/11 04:30:57 yamt Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -113,14 +113,6 @@ string that specifies how subsequent arguments .Xr stdarg 3 ) are converted for output. .Pp -These functions return -the number of characters printed -(not including the trailing -.Ql \e0 -used to end output to strings). -If an output error was encountered, these functions shall return a -negative value. -.Pp .Fn asprintf and .Fn vasprintf @@ -710,6 +702,14 @@ In no case does a non-existent or small field width cause truncation of a numeric field; if the result of a conversion is wider than the field width, the field is expanded to contain the conversion result. +.Sh RETURN VALUES +These functions return +the number of characters printed +(not including the trailing +.Ql \e0 +used to end output to strings). +If an output error was encountered, these functions shall return a +negative value. .Sh EXAMPLES .br To print a date and time in the form |
