summaryrefslogtreecommitdiff
path: root/lib/libc/stdio
diff options
context:
space:
mode:
authormikel <mikel@NetBSD.org>1997-01-23 08:10:04 +0000
committermikel <mikel@NetBSD.org>1997-01-23 08:10:04 +0000
commit37ee5d07f009111a6f53f5b4ea40eadbcfa7fed7 (patch)
tree1c06bc1326c21783bc254b83a1ccafa56ec3daf7 /lib/libc/stdio
parent62eb1738e86381d8ac9fb104a45c778d4d0ad885 (diff)
xref lseek(2) instead of seek(2); PR lib/2750
also note fpos_t/off_t discrepancy.
Diffstat (limited to 'lib/libc/stdio')
-rw-r--r--lib/libc/stdio/funopen.316
1 files changed, 11 insertions, 5 deletions
diff --git a/lib/libc/stdio/funopen.3 b/lib/libc/stdio/funopen.3
index 0d583d54c52..9798823de4f 100644
--- a/lib/libc/stdio/funopen.3
+++ b/lib/libc/stdio/funopen.3
@@ -1,4 +1,4 @@
-.\" $NetBSD: funopen.3,v 1.6 1996/11/07 09:23:10 mouse Exp $
+.\" $NetBSD: funopen.3,v 1.7 1997/01/23 08:10:04 mikel Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -84,14 +84,20 @@ 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
+.Xr close 2 ;
+except 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
+.Fa seekfn
+uses
+.Li fpos_t
+instead of
+.Li off_t .
.Pp
Read and write
.Tn I/O