loff_t *offp in read and write

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

 



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.

Thanks in advance,
Deepak Joshi


Inbox full of spam? Get leading spam protection and 1GB storage with All New Yahoo! Mail.

[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