Signal handlers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a question on signal handlers, in a gtk application should I
use the normal libc functions for handling signals such as SIGINT or
do I need to take anything else in consideration.

I.e. can I just call this in main() before gtk_main to install a
signal handler for SIGINT that will go off and clear up some hardware
registers before the application terminates;

 signal(SIGINT, termination_handler);

Thanks
-- 
Daniel Nilsson
 
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux