Sat Aug 29 15:25:57 2020 UTC ()
stdio(3): fix typos in the manual page

fputc cannot read characters, it can only write them.


(rillig)
diff -r1.27 -r1.28 src/lib/libc/stdio/stdio.3

cvs diff -r1.27 -r1.28 src/lib/libc/stdio/stdio.3 (expand / switch to context diff)
--- src/lib/libc/stdio/stdio.3 2018/02/22 08:33:43 1.27
+++ src/lib/libc/stdio/stdio.3 2020/08/29 15:25:57 1.28
@@ -1,4 +1,4 @@
-.\"	$NetBSD: stdio.3,v 1.27 2018/02/22 08:33:43 pgoyette Exp $
+.\"	$NetBSD: stdio.3,v 1.28 2020/08/29 15:25:57 rillig Exp $
 .\"
 .\" Copyright (c) 1990, 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"     @(#)stdio.3	8.7 (Berkeley) 4/19/94
 .\"
-.Dd February 22, 2018
+.Dd August 29, 2020
 .Dt STDIO 3
 .Os
 .Sh NAME
@@ -63,15 +63,13 @@
 .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.
+If append mode is used, the position indicator is 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
+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