summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>1996-09-20 03:13:39 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>1996-09-20 03:13:39 +0000
commit898745818e69a103b51b37aa7144460829ccca57 (patch)
tree3c4f762827d5e3eefea9ed9721bfe3dbd34ed6b6 /lib/libc
parent4271ab2a6ab2d97286cf86dba3cdcb51705707ea (diff)
Fix NetBSD PR 2750 by der Mouse <mouse@Rodents.Montreal.QC.CA>:
Clarify description of seek function and that the seek function accepts an fpos_t argument and not an off_t argument.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/stdio/funopen.310
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/libc/stdio/funopen.3 b/lib/libc/stdio/funopen.3
index 4e9198abfbd..47253d14467 100644
--- a/lib/libc/stdio/funopen.3
+++ b/lib/libc/stdio/funopen.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: funopen.3,v 1.4 1996/09/20 03:08:24 tholo Exp $
+.\" $OpenBSD: funopen.3,v 1.5 1996/09/20 03:13:38 tholo Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -82,14 +82,16 @@ and
must match those, respectively, of
.Xr read 2 ,
.Xr write 2 ,
-.Xr seek 2 ,
+.Xr lseek 2 ,
and
.Xr close 2
-with the single exception that they are passed the
+with the exceptions that they are passed the
.Fa cookie
argument specified to
.Fn funopen
-in place of the traditional file descriptor argument.
+in place of the traditional file descriptor argument and that
+the seek function takes an fpos_t argument and not an off_t
+argument.
.Pp
Read and write
.Tn I/O