Date: Fri, 31 May 2002 01:09:02 +1000 (EST) From: =?iso-8859-1?q?David=20Law?= <dlaw001@yahoo.co.uk> To: freebsd-bugs@FreeBSD.ORG Subject: Incorect Man Pag Message-ID: <20020530150902.60348.qmail@web20007.mail.yahoo.com>
next in thread | raw e-mail | index | archive | help
Hi Guys
I have found an inccorect man page,
Using 4.5-RELEASE FreeBSD 4.5-RELEASE #19:
typing man physio
you get
<snip>
#include <sys/buf.h>
int
physio(dev_t dev, struct uio *uio, int ioflag);
DESCRIPTION
The physio() is a helper function typically
called from character device
<snip>
.
.
.
<snip>
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
<snip>
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020530150902.60348.qmail>
