信号操作sigsuspend

函数原型:   #include <signal.h>   int sigsuspend(const sigset_t *mask); 作用:   用于在接收到某个信号之前,临时用mask替换进程的信号掩码,并暂停进程执行,直到收到信号为止。   The sigsuspend() function replaces the current signal mask of the calling th
相关文章
相关标签/搜索