kernel hacking- f_pos doubt

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

 



hai,
    i need to show a character device as a regular file.can i use f_pos in struct file for maintaining offset.Rubini has said in Ldd that read/write calls should not modify f_pos.does the kernel update f_pos based on the result of read/write.
         thanks in advance.
                                  gokul
-- 
_______________________________________________
Get your free email from http://www.india.com

Powered by Outblaze
--
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