October 2017
Intermediate to advanced
586 pages
14h 8m
English
The write() method is used to send data to the device; whenever a user app calls the write function on the device's file, the kernel implementation is called. Its prototype is as follows:
ssize_t(*write)(struct file *filp, const char __user *buf, size_t count, loff_t *pos);