I am working on a java wrapper for a linux library that uses files to
open(), read(), and issue ioctl() calls to a device.  I assume I can
open() and read() the device file as I would any standard file in java. 
Is this correct?  

What about the ioctl() calls?  Can I do these in java wthout using JNI? 
If I use jni, I have seen references that certain system calls (open(),
read(), etc.) cannot be used in the native code, due to green thread
issues.  Is this still the case?  Is there anyway I will be able to make
the ioctl calls?

Ideally, I'll open(), read() and close() the file from java, but how
will I do the ioctl()?

Thanks for any suggestions,
--
Kevin White, Software Engineer
Envision Telephony
[EMAIL PROTECTED]
[EMAIL PROTECTED]


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to