[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ioctl's handling with a trivfs translator

From: Ludovic Court?s
Subject: ioctl's handling with a trivfs translator
Date: Tue, 12 Mar 2002 15:30:33 +0100
User-agent: Mutt/1.3.25i


I am wondering whether there is a trivfs callback corresponding to a libc
ioctl() call and which one it could be? Translators callbacks do not correspond
directly to those POSIX calls but I though there might be a Hurd call
(io_something()) corresponding to ioctl() but the hurd/hurdioctl.c file in
the glibc source tree does not seem to call any such function.

So, what happens when a user program calls ioctl()? In order to be compatible
with some Linux code (like audio cd players for instance which use ioctl() calls
on the cdrom device), it might be interesting to have translators responding
to ioctl's in the same way as the Linux kernel.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]