Hello Guys,

I am CS student trying to write a kernel module as a part of my class assignment. I wanted to know, from within kernel, how do I read and write data to my proc file?
I need to store state from last call of my function.

Thanks,
Suren Nihalani.