In message <[EMAIL PROTECTED]>, mjl@SD
SC.EDU writes:
>I take it that the cleanup function won't be called if the program dumps
>core, 

Right, unless you dump core by forking a child process and doing it in that
context.

>or if it is terminated with a kill(1) 

The function can never be called when some one does a kill -9, although 
you're free to catch other signals and shutdown gracefully.  

Terminating with a call to _exit() will also not invoke your function.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to