* If the disposition is set to SIG_DFL, then the default actionĪssociated with the signal (see signal(7)) occurs. ![]() * If the disposition is set to SIG_IGN, then the signal is If the signal signum is delivered to the process, then one of the Which is either SIG_IGN, SIG_DFL, or the address of a programmer. Signal() sets the disposition of the signal signum to handler, SYNOPSIS top #include typedef void (*sighandler_t)(int) sighandler_t signal(int signum, sighandler_t handler ) DESCRIPTION top WARNING: the behavior of signal() varies across UNIX versions,Īnd has also varied historically across different versions of ![]() ![]() SIGNAL(2) Linux Programmer's Manual SIGNAL(2) NAME top
0 Comments
Leave a Reply. |