diff options
| author | Sheldon Hearn <sheldonh@FreeBSD.org> | 2000-03-03 14:59:51 +0000 |
|---|---|---|
| committer | Sheldon Hearn <sheldonh@FreeBSD.org> | 2000-03-03 14:59:51 +0000 |
| commit | de1daba9700deeaeff61134d963c86b249eb2578 (patch) | |
| tree | 23f44fca9d802c7fa2b1295d378ff72eda727b55 /lib/libc/stdio/stdio.3 | |
| parent | 7b43ed58103390dac7303841fc705b4472e26d31 (diff) | |
Notes
Diffstat (limited to 'lib/libc/stdio/stdio.3')
| -rw-r--r-- | lib/libc/stdio/stdio.3 | 13 |
1 files changed, 9 insertions, 4 deletions
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 |
