From owner-freebsd-bugs Thu May 30 8: 9:14 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from web20007.mail.yahoo.com (web20007.mail.yahoo.com [216.136.225.70]) by hub.freebsd.org (Postfix) with SMTP id 89CD537B401 for ; Thu, 30 May 2002 08:09:06 -0700 (PDT) Message-ID: <20020530150902.60348.qmail@web20007.mail.yahoo.com> Received: from [62.190.84.2] by web20007.mail.yahoo.com via HTTP; Fri, 31 May 2002 01:09:02 EST Date: Fri, 31 May 2002 01:09:02 +1000 (EST) From: =?iso-8859-1?q?David=20Law?= Subject: Incorect Man Pag To: freebsd-bugs@FreeBSD.ORG MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi Guys I have found an inccorect man page, Using 4.5-RELEASE FreeBSD 4.5-RELEASE #19: typing man physio you get #include int physio(dev_t dev, struct uio *uio, int ioflag); DESCRIPTION The physio() is a helper function typically called from character device . . . A break-down of the arguments follows: strategy The device strategy routine to call for each chunk of data to initiate device I/O. bp The buffer to use with the strategy routine. The buffer flags will have B_BUSY, and B_PHYS set when passed to the strategy rou- tine. If NULL, a buffer is allocated from a system pool. dev The device number identifying the device to interact with. flags Direction of transfer; the only valid settings are B_READ or B_WRITE. minphys A device specific routine called to determine the maximum trans- fer size that the device's strategy routine can handle. uio The description of the entire transfer as requested by the user process. Currently, the results of passing a uio structure with the `uio_segflg' set to anything other than UIO_USERSPACE, are undefined. RETURN VALUES Thus the paramters the function actually takes (as per definition in /usr/src/include/buf.h ). Do match the breakdown of the arguments in the man page. I hope this is of some use. Later David http://www.sold.com.au - The Sold.com.au Big Brand Sale - New PCs, notebooks, digital cameras, phones and more ... Sale ends June 12 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message