Re: [Haifux] module directives ?

2005-01-12 Thread Muli Ben-Yehuda
On Thu, Jan 13, 2005 at 08:31:30AM +0200, yakoub abaya wrote: > i've been reading about driver porting to kerne2.6 > the section about block device . > > they write : >static int __init sbd_init(void); <__init >static void __exit sbd_exit(void); < __exit > >module_init(s

[Haifux] module directives ?

2005-01-12 Thread yakoub abaya
i've been reading about driver porting to kerne2.6 the section about block device . they write : static int __init sbd_init(void); <__init static void __exit sbd_exit(void); < __exit module_init(sbd_init); module_exit(sbd_exit); Q: what is __init and __exit ? are they prep