From: tholo Date: Fri, 20 Sep 1996 03:13:38 +0000 (+0000) Subject: Fix NetBSD PR 2750 by der Mouse : X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=f40f62ac027c5546d986e4a71a3aa3b5120e9d87;p=openbsd Fix NetBSD PR 2750 by der Mouse : Clarify description of seek function and that the seek function accepts an fpos_t argument and not an off_t argument. --- 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