Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/stdio .Xr for fsetpos(3), not .Fn.
details: https://anonhg.NetBSD.org/src/rev/47380a9e7809
branches: trunk
changeset: 769468:47380a9e7809
user: jruoho <jruoho%NetBSD.org@localhost>
date: Sun Sep 11 04:55:48 2011 +0000
description:
.Xr for fsetpos(3), not .Fn.
diffstat:
lib/libc/stdio/fread.3 | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r fad496e7f40b -r 47380a9e7809 lib/libc/stdio/fread.3
--- a/lib/libc/stdio/fread.3 Sun Sep 11 01:07:56 2011 +0000
+++ b/lib/libc/stdio/fread.3 Sun Sep 11 04:55:48 2011 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: fread.3,v 1.14 2009/01/11 02:46:29 christos Exp $
+.\" $NetBSD: fread.3,v 1.15 2011/09/11 04:55:48 jruoho Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -33,7 +33,7 @@
.\"
.\" @(#)fread.3 8.2 (Berkeley) 3/8/94
.\"
-.Dd December 19, 2008
+.Dd September 11, 2011
.Dt FREAD 3
.Os
.Sh NAME
@@ -76,7 +76,7 @@
and
.Fn fwrite
calls without setting the file position explicitly using
-.Fn fsetpos
+.Xr fsetpos 3
between read and write or write and read operations will lead to unexpected
results because of buffering the file pointer not being set to the
expected position after each operation completes.
Home |
Main Index |
Thread Index |
Old Index