summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-03-09 06:09:09 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-03-09 06:09:09 +0000
commitb5b8fce4c829e2a0db887cceea7a42f3ce2c0d9d (patch)
treeef1d9571fecc350ba9dd4876843de8af181e5b55
parent9689cd0a9d5ca600a4b17ecedc6ab75cd96bcad7 (diff)
grammar fixes by mckay
-rw-r--r--lib/libc/stdio/stdio.312
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/stdio/stdio.3 b/lib/libc/stdio/stdio.3
index d0ebaacfea4..4b7b79cc435 100644
--- a/lib/libc/stdio/stdio.3
+++ b/lib/libc/stdio/stdio.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: stdio.3,v 1.3 1996/08/19 08:33:07 tholo Exp $
+.\" $OpenBSD: stdio.3,v 1.4 1998/03/09 06:09:08 deraadt Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -64,13 +64,13 @@ 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
-is used, the position indicator will be placed the end-of-file.
+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
were read by successive calls to the
.Xr fgetc 3
function; all output takes place as if all characters were
-read by successive calls to the
+written by successive calls to the
.Xr fputc 3
function.
.Pp
@@ -81,7 +81,7 @@ Output streams are flushed (any unwritten buffer contents are transferred
to the host environment) before the stream is disassociated from the file.
The value of a pointer to a
.Dv FILE
-object is indeterminate after a file is closed (garbage).
+object is indeterminate (garbage) after a file is closed.
.Pp
A file may be subsequently reopened, by the same or another program
execution, and its contents reclaimed or modified (if it can be repositioned
@@ -133,7 +133,7 @@ In fact,
freshly-opened streams that refer to terminal devices
default to line buffering, and
pending output to such streams is written automatically
-whenever an such an input stream is read.
+whenever such an input stream is read.
Note that this applies only to
.Dq "true reads" ;
if the read request can be satisfied by existing buffered data,
@@ -201,7 +201,7 @@ Function versions of the macro functions
.Xr putc ,
and
.Xr putchar
-exist and will be used if the macros
+exist and will be used if the macro
definitions are explicitly removed.
.Sh SEE ALSO
.Xr open 2 ,