static int hello_init(void)
{

printk(KERN_ALERT "I bear a charmed life.\n");

return 0;

}

/*

* hello_exit -  ,    .

*/

static void hello_exit(void)
{

printk(KERN_ALERT "Out, out, brief candle!\n");

}

module init(hello init);

module_exit(hello_exit);

MODULE_LICENSE("GPL") ;

MODULE_AUTHOR("Shakespeare") ;

    ,    .  hello_
init ()     module_init ()    
 .      .  module_init ()  
  ,  ,       -
  .     -
  .

int my init(void);

        ,  -
          static.

     int.  
( ,    )  ,   
  .      .

          -
 .       , -
    ..      
  ,        
 .

 hello_exit ()        
  module_exit ().    helio_exit () , 
   .      -
, ,      
,  ..      ,  .

     .

void my exit(void);

       ,     static.

344                                                                    16