Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/stdio stdio(3): fix typos in the manual page
details: https://anonhg.NetBSD.org/src/rev/fff17699b6f9
branches: trunk
changeset: 937972:fff17699b6f9
user: rillig <rillig%NetBSD.org@localhost>
date: Sat Aug 29 15:25:57 2020 +0000
description:
stdio(3): fix typos in the manual page
fputc cannot read characters, it can only write them.
diffstat:
lib/libc/stdio/stdio.3 | 12 +++++-------
1 files changed, 5 insertions(+), 7 deletions(-)
diffs (37 lines):
diff -r 19cbe70cfc70 -r fff17699b6f9 lib/libc/stdio/stdio.3
--- a/lib/libc/stdio/stdio.3 Sat Aug 29 15:16:12 2020 +0000
+++ b/lib/libc/stdio/stdio.3 Sat Aug 29 15:25:57 2020 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index