"Dan Koren" <dankoren@yahoo.com> writes:
>> http://docs.sun.com/app/docs/doc/817...chapter2-48195
>Thanks for the pointer.
>This does not seem to be what I'm looking for however.
It is.
>The examples on the page you pointed me to illustrate
>init and fini routines that are invoked as a result of
>running a program. What I'm looking for is a method of
>loading and initializing a shared library upon loading,
>regardless of any program being run that might use it
>(and not waiting for this to happen).
Using init and fini routines inside a library will have the
same effect; they are executed when the library is first loaded,
just like the methods in the examples are executed when the
program is loaded.
Casper
--
Expressed in this posting are my opinions. They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.