October 2017
Intermediate to advanced
586 pages
14h 8m
English
The llseek function is called when you move the cursor position within a file. The entry point of this method in user space is lseek(). You can refer to the man page in order to print the full description of either method from user space: man llseek and man lseek. Its prototype looks as follows:
loff_t(*llseek) (struct file *filp, loff_t offset, int whence);
The preceding command is explained as following: