Subject: Re: futher ioctl quandry...
To: Darren Reed <>
From: Chris G. Demetriou <>
List: tech-kern
Date: 03/14/2000 08:58:55
Darren Reed <> 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 - -
Disclaimer: Not speaking for NetBSD, just expressing my own opinion.