Bernd Walter wrote: > How can I add initalisation code to a library without needing to > call a function in the using application? > What I saw is that libc does something like this but havn't found > the starting point of this.
There are two special functions for that : _init() which will be called when the object is loaded, and _fini() which will be called when it is released. Maxime -- Don't be fooled by cheap finnish imitations ; BSD is the One True Code To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message