Scroll to navigation

SEQ_READ(9) The Linux VFS SEQ_READ(9)

NAME

seq_read - ->read method for sequential files.

SYNOPSIS

ssize_t seq_read(struct file * file, char __user * buf, size_t size, loff_t * ppos);

ARGUMENTS

struct file * file

the file to read from

char __user * buf

the buffer to read to

size_t size

the maximum number of bytes to read

loff_t * ppos

the current position in the file

DESCRIPTION

Ready-made ->f_op->read

COPYRIGHT

June 2017 Kernel Hackers Manual 4.11