site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.in; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=uKMHIx+or1qYsaL5xK1vBHwC7QWqQEJepK5TEZse7FtkcLjijjCr+7uKxKmBFui4c5lCu4MoPYbTz0g7S9z5Itj3rF4VC0758sC+vgrDOyM8SxhuOwyMzretzTpjYJ2ev+NvXqfmYCw5LvOqfSYaiEBKD1ohHYB3GBXF0Uz6e4o= ; 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 (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com