ioctl was obsoleted

ioctl was obsoleted

Pluto's picture

In the linux driver session(Chinese version, I didn't check the English version), the lecturer talked about the ioctl interface of the file_operations structure. However, this interface became obsoleted pretty long time ago[1]. Instead, you can use unlocked_ioctl or use better interfaces like sysfs.

[1] http://lwn.net/Articles/119652/

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Good catch and thanks for the correction, will update the slide accordingly.

Login to leave a comment.