Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/stdio note that our fsetpos/fgetpos don't know abou...
details: https://anonhg.NetBSD.org/src/rev/4ecb17b4babc
branches: trunk
changeset: 521619:4ecb17b4babc
user: yamt <yamt%NetBSD.org@localhost>
date: Sat Feb 02 08:56:53 2002 +0000
description:
note that our fsetpos/fgetpos don't know about stream's state.
it's a bug since we now have stateful encodings like iso2022 and
wide char functions like fgetwc.
diffstat:
lib/libc/stdio/fseek.3 | 14 +++++++++-----
1 files changed, 9 insertions(+), 5 deletions(-)
diffs (39 lines):
diff -r ded9225a416d -r 4ecb17b4babc lib/libc/stdio/fseek.3
--- a/lib/libc/stdio/fseek.3 Sat Feb 02 07:35:49 2002 +0000
+++ b/lib/libc/stdio/fseek.3 Sat Feb 02 08:56:53 2002 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: fseek.3,v 1.18 2001/09/16 02:08:55 wiz Exp $
+.\" $NetBSD: fseek.3,v 1.19 2002/02/02 08:56:53 yamt Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -131,7 +131,7 @@
(see
.Xr clearerr 3 ) .
.Pp
-The
+In this implementation, the
.Fn fgetpos
and
.Fn fsetpos
@@ -147,9 +147,7 @@
), setting and storing the current value of
the file offset into or from the object referenced by
.Fa pos .
-On systems other than
-.Ux ,
-an
+In the other implementation, an
.Dq Fa fpos_t
object may be a complex object
and these routines may be the only way to portably reposition a text stream.
@@ -241,3 +239,9 @@
.Fn ftello
functions conform to
.St -xsh5 .
+.Sh BUGS
+The
+.Fn fgetpos
+and
+.Fn fsetpos
+functions don't store/set shift states of the stream in this implementation.
Home |
Main Index |
Thread Index |
Old Index