Subject: Re: futher ioctl quandry...
To: Darren Reed <email@example.com>
From: Chris G. Demetriou <firstname.lastname@example.org>
Date: 03/14/2000 08:58:55
Darren Reed <email@example.com> 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 - firstname.lastname@example.org - http://www.netbsd.org/People/Pages/cgd.html
Disclaimer: Not speaking for NetBSD, just expressing my own opinion.