Re: how to read a file and write a file located in /proc

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

 



Bunty

See if this helps, it has a section on proc coding.

http://www.faqs.org/docs/kernel/

Marc

bunty wrote:


hello,
         i study the kernel source code to find out how kernel writes to /proc file system but unable to trace and only fine out that it writes via sprintf. IS there any function that allow me to read and write to file.
regards,



--
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