View Single Post
Re: How to detect dynamic library load/unload?
Old
  (#3)
botmeister
Ex-Council Member
 
botmeister's Avatar
 
Status: Offline
Posts: 1,090
Join Date: Nov 2003
Location: Canada
Default Re: How to detect dynamic library load/unload? - 19-10-2004

I read about the __init and __exit macros from some website. You have to include <linux/init.h> for it to work, or so goes the story.

I tried init and fini as suggested but no luck.

Is there a compiler/linker option for this?


Maker of the (mEAn) Bot.Admin Manager

"In theory, there is no difference between theory and practice. But, in practice, there is." - Jan L.A. van de Snepscheut
  
Reply With Quote