>Thu May 15 2008 07:53:09 EDT from dothebart
>Subject: on_exit
>
>  
>
>dave, since man on_exit 
>
>over here states its depricated, and one should favour 
>
>atexit() 
>
>could you add checks to configure for that and add ifdefs?  



Damn, I'd not noticed that. You are correct. Documentation says to avoid it.
Dammit. I used that function because I want to know the exit code and
atexit() doesn't tell you that...

Oh well, guess I'll just have to do it properly in the signal handler 8-)

Reply via email to