public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* sysfs programming
@ 2008-12-20  8:13 Peter
  2008-12-21  3:25 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Peter @ 2008-12-20  8:13 UTC (permalink / raw)
  To: linux-kernel

Hi , 
I am writing a project for my university and i am planning on using sysfs for my kernel module to communicate with user space , ive read some articles and i know how sysfs works, its just i dont know how the code should be written .
Could you please send me a sample code about how to create an attribute file at /sys/module/(some kernel module)/ please ?
thank you very much .


      

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-12-21  4:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-20  8:13 sysfs programming Peter
2008-12-21  3:25 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox