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

struct file * file

the file in question

loff_t offset

new position

int whence

0 for absolute, 1 for relative position

DESCRIPTION

Ready-made ->f_op->llseek

COPYRIGHT

July 2017 Kernel Hackers Manual 4.12