[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ioctl declaration lost!
- Date: Thu, 15 Nov 2007 07:11:37 +1100
- From: chrisj at rtems.org (Chris Johns)
- Subject: ioctl declaration lost!
Thomas Doerfler wrote:
> I have a (maybe stupid) question, based on rtems-18.104.22.168:
> I want to use the ioctl() function (as defined in
> 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
> Any hints for me (including "buy new glasses")?
It is in libcsupport/include/sys/ioccom.h which is included by ioctl.h.
> 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 ' ?