Module Name:    src
Committed By:   rillig
Date:           Sat Aug 29 15:25:57 UTC 2020

Modified Files:
        src/lib/libc/stdio: stdio.3

Log Message:
stdio(3): fix typos in the manual page

fputc cannot read characters, it can only write them.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/lib/libc/stdio/stdio.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/stdio/stdio.3
diff -u src/lib/libc/stdio/stdio.3:1.27 src/lib/libc/stdio/stdio.3:1.28
--- src/lib/libc/stdio/stdio.3:1.27	Thu Feb 22 08:33:43 2018
+++ src/lib/libc/stdio/stdio.3	Sat Aug 29 15:25:57 2020
@@ -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 @@ 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.
+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

Reply via email to