ioctl was obsoleted

ioctl was obsoleted

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.


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.

Leave a Comment

Please sign in to add a comment. Not a member? Join today