Need Help on writing into proc file

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

 



Hi All,

Can anybody please tell me how to write some data into created proc file? I 
tried like this:

	dirent->read_proc = &xxx_read_proc;

where "dirent"(of type proc_dir_entry) pointer i got by using          
"create_proc_entry".
xxx_read_proc is the function i defined before.

Problem is it's not going inside "xxx_read_proc" . What was the problem ? 
What i need to do. I followed the procedure mentioned in the followig 
document, but i couldn't get the result. What is the problem?

"kernelnewbies.org/documents/kdoc/procfs-guide.pdf"

Thanq in Advance,

Regards,
-Raj

_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx

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