Solaris libraries Library initialization and cleanup
The SUN SparcWorks compiler uses pragma directives to mark initialization and cleanup functions of a library. If the module should also run under VxWorks, the function prototype should be declared with the help of the '__init__' and '__fini__' macros (see section VxWorks object modules).If the GNU C/C++ compiler is used under Solaris, the macros '__init__' and '__fini__' should be sufficient (the pragma directives don't hurt, so they can be left there).
We recommend to always use the macro and the pragma directive together.
Example:
__fini__(finiModule1); #pragma init(finiModule1) void finiModule1 (void) { ... }
alphabetic index hierarchy of classes
Please send questions and comments to sigg_d@ligo-wa.caltech.edu
generated by doc++