Comment 1 for bug 548612

Revision history for this message
Brett van de Sande (bvds) wrote :

In C, this would look something like:

#include <signal.h>
struct sigaction old_action;
sigaction (SIGALRM, NULL, &old_action);

  /* call foreign library */

sigaction (SIGALRM, &old_action, NULL);