On 7/19/06, Deepak Joshi <deepak_cins@xxxxxxxxxxx> wrote:
Hi all, I am not getting the use of loff_t *offp in read and write system call. The syntax of read function is ssize_t read(struct file *filp, char *buff, size_t count, loff_t *offp); The last pointer we can asscess from filp->f_pos. so plz guide me to get clear this concept.
There was a discussion on this point a couple of weeks back. So check the archives. Om. -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/