On Tue, 22 Feb 2005 13:04:01 +0530, Shrinand Javadekar
<[EMAIL PROTECTED]> wrote:
> Hi!!
>
> I want to create a file in /proc which I would be using for
> some of interprocess communication.
>
> The code snippet is given below. However, it just does not seem to work
> :((. The code compiles perf
create_proc_entry("mtrr", S_IWUSR | S_IRUGO, &proc_root);
> I want to create a file in /proc which I would be using for
> some of interprocess communication.
Thats a strange use
> Is there something I'm missing out on? All suggestions are welcome :)
>
> COde:
> ==
>
> struct proc_dir
The code snippet is given below. However, it just does not seem to work
:((. The code compiles perfectly but the function create_proc_entry returns
NULL everytime :(.
I tried it out on 2.4.20-6 (rh9). It works fine. Maybe you can post the
complete code.
--Swapnil
#include
#include
#include
in