How to retrieve buffer from struct uio ?
How to retrieve buffer from struct uio ?
- Subject: How to retrieve buffer from struct uio ?
- From: sanjay yaragatti <email@hidden>
- Date: Tue, 12 Sep 2006 10:13:10 +0100 (BST)
Hi all,
I am writing a kernel driver.I have regestered it
as character device. I am unable to implement the
device write method (dev_write( dev_t device, struct
uio *uio, int ioflag)) since I don't know how to
retrieve the buffer from struct uio.
However on trying to dereference uio as
uio->uio_iov->iov_base gave a compilation error.
Is there a KPI to retrieve the buffer sent from user
space?
Thanks,
Sanjay
__________________________________________________________
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden