信號操作sigsuspend

函數原型:   #include <signal.h>   int sigsuspend(const sigset_t *mask); 作用:   用於在接收到某個信號之前,臨時用mask替換進程的信號掩碼,並暫停進程執行,直到收到信號爲止。   The sigsuspend() function replaces the current signal mask of the calling th
相關文章
相關標籤/搜索