We've recently written a device driver (for Linux), and it uses
ioctl(2). We use a separate C program which is also a BSD-socket
server to drive the device at the user-level. The socket server is
for Java apps which also need to use the device.
If you want to use ioctl(2), you probably need JNI; even if the Linux
port of the JDK supports raw ioctl (as a "feature"), it won't be
standard.
--troy
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]