Re: Is libusb dead?
Oliver Neukum <[email protected]>
| Newsgroups | gmane.linux.usb.devel |
|---|---|
| Message-ID | <[email protected]> |
Am Mittwoch, 18. April 2007 17:54 schrieb Mike Panetta: > Just out of curiosity, why do we want to get rid of ioctl calls? They > aren't all that bad, are they? With an ioctl call its obvious you want > to write some structured data of some sort to a device to control it, > with read/write its not immediately obvious that you want to write > anything more then a string of bytes. Maybe I am just being pedantic, > either way I am curious as to why the change is proposed. For a number of reasons. - we got burned on 32/64 issues - no easy support for non blocking IO - no easy support for AIO Others will come up with more problems. Now I don't think we can do fully without ioctl(), actions like resetting a device map very well to it's semantics. Regards Oliver ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel