第11章 进程和信号
void (*signal(int sig, void (*func)(int)))(int);
signal() sets the disposition of the signal signum to han‐
dler, which is either SIG_IGN, SIG_DFL, or the address of a
programmer-defined function (a "signal handler").
void (*signal(int sig, void (*func)(int)))(int);
signal() sets the disposition of the signal signum to han‐
dler, which is either SIG_IGN, SIG_DFL, or the address of a
programmer-defined function (a "signal handler").