Scroll to navigation

SEQ_LSEEK(9) The Linux VFS SEQ_LSEEK(9)

NAME

seq_lseek - -> llseek method for sequential files.

SYNOPSIS

loff_t seq_lseek(struct file * file, loff_t offset, int whence);

ARGUMENTS

file
the file in question
offset
new position
whence
0 for absolute, 1 for relative position

DESCRIPTION

Ready-made ->f_op-> llseek

COPYRIGHT

May 2018 Kernel Hackers Manual 3.16