sigpending
函数原型:int sigpending(sigset_t *set)
作用:sigpending函数返回在送往进程的时候被阻塞挂起的信号集合。这个信号集合通过参数set返回。在linux中其英文释义:sigpending() returns the set of signals that are pending for delivery to the calling thread (i.e., the signals which have been raised while blocked). The mask of pending signals is returned in set.
返回值:函数调用成功返回0,否则返回-1;