ioctl (Input Output ConTroL) is a system call for device-specific I/O operations and other operations which cannot be expressed by regular system calls and it provides an interface through which an application can communicate directly with a device driver(or any other global kernel space variables). Applications can use the standard control codes or device-specific control codes to perform direct input and output operations.
Questions tagged [ioctl]
691 questions
-2
votes
1 answer
How can I save data to a device file?
I'm currently building a kernal module that creates a device under /dev and I want to store some data inside of the device file. However, every time I try to write to the device file, nothing is being saved to that specific file.
Currently, I've…

Harsh Patel
- 151
- 6