ioctl declaration lost!

Thomas Doerfler Thomas.Doerfler at embedded-brains.de
Wed Nov 14 20:19:09 UTC 2007


Hi Chris,

Chris Johns schrieb:
> Thomas Doerfler wrote:
>>
>> Now I am surprised that I cannot find a proper declaration for this
>> function. I would expect it to be located in sys/ioctl.h, but it is not
>> there.
>>
> 
> It is in libcsupport/include/sys/ioccom.h which is included by ioctl.h.

Wow, you are right. Obviously I "grep"ped too much today...

> 
>> Next question:
>>
>> I want to add an alternative synchronization mechanism to DOSFS,
>> controlled using an ioctl call. What is the prefered location to publish
>> the ioctl command definitions? I would define a new
>> "rtems/msdos_ioctl.h", is this ok?
> 
> Why not just add to 'rtems/dosfs.h ' ?

Yes, it is already there, gets installed and is the right location.

Thank you for your help!

And thank you for NOT giving the hint about the new glasses :-)

wkr,
Thomas.

> 
> Regards
> Chris
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.com
> http://rtems.rtems.org/mailman/listinfo/rtems-users


-- 
--------------------------------------------
Embedded Brains GmbH
Thomas Doerfler           Obere Lagerstr. 30
D-82178 Puchheim          Germany
email: Thomas.Doerfler at embedded-brains.de
Phone: +49-89-18908079-2
Fax:   +49-89-18908079-9



More information about the users mailing list