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/