Linux-kernel mailing list archive 2000-02,: Read/Write operations

# Read/Write operations

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

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Christoph Rohland: "[PATCH] replace SYSV shared memory with shm filesystem"
- Previous message: Uwe Bonnes: "Re: cdrom for embedded systems"

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/

- Next message: Christoph Rohland: "[PATCH] replace SYSV shared memory with shm filesystem"
- Previous message: Uwe Bonnes: "Re: cdrom for embedded systems"