diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2016-03-15 19:45:58 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2016-03-15 19:45:58 +0000 |
commit | 7b3bf36e3577f0f232fafb3de63a661a2edc8f9d (patch) | |
tree | a0c540615bec2b100e99a12a9bb3741a73a1a32d /lib | |
parent | 87643eeeff65080d86c76296ab8456bd9d3e4000 (diff) |
remind people rewind is seldom a good choice
okay jmc@
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/stdio/fseek.3 | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/libc/stdio/fseek.3 b/lib/libc/stdio/fseek.3 index 53f021d9f72..36c133b0a4a 100644 --- a/lib/libc/stdio/fseek.3 +++ b/lib/libc/stdio/fseek.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: fseek.3,v 1.16 2013/07/17 05:42:11 schwarze Exp $ +.\" $OpenBSD: fseek.3,v 1.17 2016/03/15 19:45:57 espie Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -31,7 +31,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: July 17 2013 $ +.Dd $Mdocdate: March 15 2016 $ .Dt FSEEK 3 .Os .Sh NAME @@ -142,6 +142,9 @@ and these routines may be the only way to portably reposition a text stream. The .Fn rewind function returns no value. +Prefer +.Fn seek , +which is just as portable, and does not hide errors. Upon successful completion, .Fn fgetpos , .Fn fseek , |