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 preprocessor directives ?


-------------------------------------------------------------------------- Haifa Linux Club Mailing List (http://www.haifux.org) To unsub send an empty message to [EMAIL PROTECTED]




Reply via email to