File handling in a kernel module. What is the appropriate way to 'seek' in a file? I could not find a sys_seek()
function (such as sys_read()
). Or, is it better only to use the VFS function API?
The question How to read/write files within a Linux kernel module? does not handle input stream navigation, i.e. there is no reference to tell()/seek()
of any kind.