View Single Post
Re: How to detect dynamic library load/unload?
Old
  (#6)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: How to detect dynamic library load/unload? - 19-10-2004

Google told me that

The C prototypes for these functions are:
Code:
  void __attribute__ ((constructor)) my_init (void);

  void __attribute__ ((destructor)) my_fini (void);
put the function names you want, but type the attributes verbatim. Tell me if it works because I'm interested in that issue too



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote