Menu

#6 Fix signal handler

open
nobody
core (19)
5
2007-03-13
2007-03-13
No

The function "gettimeofday()" does not belong to the list of async-signal-safe functions.
See section "2.4.3 Signal Actions" from the document "2.4 Signal Concepts".
http://opengroup.org/onlinepubs/009695399/functions/xsh_chap02_04.html#tag_02_04_03

I guess that a different program design will be needed for your function "sig_int_actions".
http://gull.svn.sourceforge.net/viewvc/gull/seagull/trunk/src/generator-core/main.cpp?revision=201&view=markup

Discussion