2009-07-23 08:25:52 reading data from using procfs
ThangarJ P (INDIA)
Message: 77954
Hi ,
how can we read the data from kernel using proc file system?
is there any API available?
i gone through the example code in the below link.
docs.huihoo.com/linux/kernel/2.6.26/procfs-guide/ch05.html
but i didnt get how can we call from userspace?
Please provide your suggestions.
With Regards,
Thangaraj.P
QuoteReplyEditDelete
2009-07-23 10:09:15 Re: reading data from using procfs
Mike Frysinger (UNITED STATES)
Message: 77963
it's a file. read it like any other file.