Subject: Re: futher ioctl quandry...
To: Darren Reed <darrenr@reed.wattle.id.au>
From: Chris G. Demetriou <cgd@netbsd.org>
List: tech-kern
Date: 03/14/2000 08:58:55
Darren Reed <darrenr@reed.wattle.id.au> 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.


cgd
-- 
Chris Demetriou - cgd@netbsd.org - http://www.netbsd.org/People/Pages/cgd.html
Disclaimer: Not speaking for NetBSD, just expressing my own opinion.