diff options
Diffstat (limited to 'lib/libc/stdio')
| -rw-r--r-- | lib/libc/stdio/printf.3 | 5 | ||||
| -rw-r--r-- | lib/libc/stdio/putc.3 | 4 | ||||
| -rw-r--r-- | lib/libc/stdio/scanf.3 | 4 | ||||
| -rw-r--r-- | lib/libc/stdio/stdio.3 | 13 |
4 files changed, 19 insertions, 7 deletions
diff --git a/lib/libc/stdio/printf.3 b/lib/libc/stdio/printf.3 index 7c59d0a3ca99..00ceded81b2d 100644 --- a/lib/libc/stdio/printf.3 +++ b/lib/libc/stdio/printf.3 @@ -34,6 +34,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)printf.3 8.1 (Berkeley) 6/4/93 +.\" $FreeBSD$ .\" .Dd June 4, 1993 .Dt PRINTF 3 @@ -548,7 +549,9 @@ No argument is converted. .It Cm % A .Ql % -is written. No argument is converted. The complete conversion specification +is written. +No argument is converted. +The complete conversion specification is .Ql %% . .El diff --git a/lib/libc/stdio/putc.3 b/lib/libc/stdio/putc.3 index ddbddc173f88..c65d88a80ba4 100644 --- a/lib/libc/stdio/putc.3 +++ b/lib/libc/stdio/putc.3 @@ -34,6 +34,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)putc.3 8.1 (Berkeley) 6/4/93 +.\" $FreeBSD$ .\" .Dd June 4, 1993 .Dt PUTC 3 @@ -69,7 +70,8 @@ The macro acts essentially identically to .Fn fputc , -but is a macro that expands in-line. It may evaluate +but is a macro that expands in-line. +It may evaluate .Fa stream more than once, so arguments given to .Fn putc diff --git a/lib/libc/stdio/scanf.3 b/lib/libc/stdio/scanf.3 index a9bbc4124e2a..f6be01805b1f 100644 --- a/lib/libc/stdio/scanf.3 +++ b/lib/libc/stdio/scanf.3 @@ -34,6 +34,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)scanf.3 8.2 (Berkeley) 12/11/93 +.\" $FreeBSD$ .\" .Dd December 11, 1993 .Dt SCANF 3 @@ -396,7 +397,8 @@ conversion. The value .Dv EOF is returned if an input failure occurs before any conversion such as an -end-of-file occurs. If an error or end-of-file occurs after conversion +end-of-file occurs. +If an error or end-of-file occurs after conversion has begun, the number of conversions which were successfully completed is returned. .Sh SEE ALSO diff --git a/lib/libc/stdio/stdio.3 b/lib/libc/stdio/stdio.3 index e9a29e920ec5..345a08338f39 100644 --- a/lib/libc/stdio/stdio.3 +++ b/lib/libc/stdio/stdio.3 @@ -30,6 +30,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)stdio.3 8.7 (Berkeley) 4/19/94 +.\" $FreeBSD$ .\" .Dd April 19, 1994 .Dt STDIO 3 @@ -51,22 +52,26 @@ interface. Input and output is mapped into logical data streams and the physical .Tn I/O -characteristics are concealed. The functions and macros are listed +characteristics are concealed. +The functions and macros are listed below; more information is available from the individual man pages. .Pp A stream is associated with an external file (which may be a physical device) by .Em opening -a file, which may involve creating a new file. Creating an +a file, which may involve creating a new file. +Creating an existing file causes its former contents to be discarded. If a file can support positioning requests (such as a disk file, as opposed to a terminal) then a .Em file position indicator associated with the stream is positioned at the start of the file (byte -zero), unless the file is opened with append mode. If append mode +zero), unless the file is opened with append mode. +If append mode is used, the position indicator will be placed at the end-of-file. The position indicator is maintained by subsequent reads, writes -and positioning requests. All input occurs as if the characters +and positioning requests. +All input occurs as if the characters were read by successive calls to the .Xr fgetc 3 function; all output takes place as if all characters were |
