Re: loff_t *offp in read and write

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux