Read/Write operations

Peix Fabrice (peix@essi.fr)
Mon, 10 Jan 2000 18:10:02 +0100


Yops,

In struct file_operations read and write are define as follow
ssize_t (*read) (struct file *fops, char *buf, size_t count, loff_t
*ppos);
ssize_t (*write) (struct file *fops, const char *buf, size_t count,
loff_t *ppos);

Just a little question, in which case the value of *ppos is different
of fops->f_pos.

Thanks.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/