Skip to Content.
Sympa Menu

baslinux - Re: [BL] Read file in /proc

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: 3aoo-cvfd AT dea.spamcon.org
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] Read file in /proc
  • Date: Sat, 6 Mar 2004 08:39:32 +1300

Nguyen The Luan wrote:
>
> Please show me howto read a proc file
> ( file in /proc) in kernel module

In a kernel module? I don't understand the question.
You can read a proc file using cat. For example:
--------------------
cat /proc/interrupts
--------------------

But what does that have to do with a kernel module?
Are you trying to write a kernel module? If so, this
is the wrong place to ask about that.

Cheers,
Steven




Archive powered by MHonArc 2.6.24.

Top of Page