There is no way to do that. If you are programming a library you might
want to implement main() and call some user_main() callback inside. Then
you require the library user to implement user_main() instead of main().
Just like some guys did with their GUI library ... WinMain(), you know ;)
Sven Semmler http://www.yqcomputer.com/
GPG Fingerprint: 72CA E26D C2A3 1FEB 7AFC 10EA F769 A9A4 937F 5E67
comp.lang.c.moderated - moderation address: XXXX@XXXXX.COM