[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[rtl] c function to load a module



 > Do you know a C function that can load a module, and return the status.
 > I think request_module(char *) can do it but wich library do I have to declare to compile?

>From kmod.c (a kernel source file:-):

  /*
          request_module: the function that everyone calls when they need
  	  a module.
  */
  int request_module(const char * module_name)

The library is the kernel itself ;-O 
(Or should we actually say "the kernel himself" :-)


 > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 > <HTML><HEAD>

That's not needed in a mailing list !


Jochen
-- 
Heinrich-Heine-Universität
Institut für Physikalische Chemie I
Jochen Küpper
Universitätsstr. 1, Geb. 26.43 Raum 02.29
40225 Düsseldorf, Germany
phone ++49-211-8113681, fax ++49-211-8115195
http://www.Jochen-Kuepper.de