Advanced Char Driver Operations Linux Kernel Programming CIS
The Implementation of the ioctl Commands Six ways to pass and receive arguments from the user space Need to know command number int quantum; ioctl(fd,SCULL_IOCSQUANTUM, &quantum); /* Set by pointer */ ioctl(fd,SCULL_IOCTQUANTUM, quantum); /* Set by value */ ioctl(fd,SCULL_IOCGQUANTUM, &quantum);...