ioctl_return and ioctl handler type

Ralf Corsepius ralf.corsepius at rtems.org
Tue Apr 3 13:11:59 UTC 2012


On 04/03/2012 01:44 PM, Joel Sherrill wrote:
> Tradition?
>
> There was a heavy use of unsigned 32 bit integers and as we have moved more and more to POSIX, some are left.
>
> This makes sense to change but the ripple will be tedious.

>> int devFS_ioctl(
>>    rtems_libio_t *iop,
>>    uint32_t       command,
>>    void          *buffer

While we're at it, all ioctl's are supposed to take an ioctl_command_t 
as command argument.

Ralf



More information about the devel mailing list