Results 1 to 2 of 2
Hey everyone,
I need to open /proc/1/status file within linux kernal module and read from
that file.
Is it possible? Can I use functions open() and read()?
Can anyone help ...
- 11-27-2006 #1Just Joined!
- Join Date
- Nov 2006
- Posts
- 1
How to open /proc files in Linux Kernal module and write into file within kernal modu
Hey everyone,
I need to open /proc/1/status file within linux kernal module and read from
that file.
Is it possible? Can I use functions open() and read()?
Can anyone help me?
Thank You
- 11-28-2006 #2Why from inside the kernel?I need to open /proc/1/status file within linux kernal module and read from
that file.
No, you can not use standar library functions,Is it possible? Can I use functions open() and read()?
Read this first
http://www.linuxforums.org/programmi...ng_part_i.html
and this:
http://www.linuxforums.org/programmi...g_part_ii.html
Best Regards


Reply With Quote
