Read/Write operations

From: Peix Fabrice (peix@essi.fr)
Date: Mon Jan 10 2000 - 12:10:02 EST


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/



This archive was generated by hypermail 2b29 : Sat Jan 15 2000 - 21:00:16 EST