|
|
HP-UX Reference > Ssigpending(2)HP-UX 11i Version 2: December 2007 Update |
|
NAMEsigpending() — examine pending signals DESCRIPTIONsigpending() stores the set of signals that are blocked from delivery and are pending to the calling thread, at the location pointed to by set. RETURN VALUEUpon successful completion, sigpending() returns 0. Otherwise -1 is returned and errno is set to indicate the error. ERRORSsigpending() fails if the following condition is encountered:
APPLICATION USAGEThreads ConsiderationsThe set of signals returned by sigpending() is the union of the signals pending on the process and calling thread. A signal may be pending on the process if all threads block the signal. The set of signals returned by sigpending() is only advisory. Since other threads may be executing at the time of the call, a signal pending on the process may be delivered to a thread after this system call returns. For more information regarding signals and threads, refer to signal(5). |
|