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