第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").

posted @ 2016-04-28 21:28  孤灯下的守护者  阅读(91)  评论(0编辑  收藏  举报