Subject: Re: futher ioctl quandry...
To: Darren Reed <firstname.lastname@example.org>
From: Chris G. Demetriou <email@example.com>
Date: 03/14/2000 08:58:55
Darren Reed <firstname.lastname@example.org> writes:
> It would almost seem that IOC_VOID has been setup to allow
> the passing of pointers to structs into the kernel ?
or simple values, yes i believe that is true.
I dunno if that's currently used in NetBSD, but it's certainly
slightly more efficient if you're creating a new ioctl() call API that
needs a simple value (i.e. 1/0, pointer, etc.).
i've certainly heard of people using IOC_VOID like this, in the past,
but maybe not in NetBSD.
Chris Demetriou - email@example.com - http://www.netbsd.org/People/Pages/cgd.html
Disclaimer: Not speaking for NetBSD, just expressing my own opinion.