Hi experts,
I’m porting an device driver from linux to QNX using the iomgr example.
I have problems to port the ioctl’s, it seems that they are quite
different under QNX to handle.
Sending the ioctl to the driver works fine but I have no idea how to get
data back to the application program.
Does anybody have some example code or any useful hints for me?
Thanks in advance
Georg Ertl
Georg Ertl <geer@pfaffenhofen.de> wrote:
Hi experts,
I’m porting an device driver from linux to QNX using the iomgr example.
I have problems to port the ioctl’s, it seems that they are quite
different under QNX to handle.
Sending the ioctl to the driver works fine but I have no idea how to get
data back to the application program.
Does anybody have some example code or any useful hints for me?
Hint – if it is anything like Neutrino, you need to put the data
for the ioctl after the ioctl structure in the Reply() data.
-David
QNX Training Services
dagibbs@qnx.com