Hi,

yes, there is a way. You'll have to install your own signal handler by using the signal() function.

enjoy :)
cody