Query: siginterrupt
OS: hpux
Section: 2
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
siginterrupt(2) System Calls Manual siginterrupt(2)NAMEsiginterrupt - allow signals to interrupt functionsSYNOPSISDESCRIPTIONThe function is used to change the restart behaviour when a function is interrupted by the specified signal. The function sig, flag) has an effect as if implemented as:RETURN VALUEUpon successful completion, returns 0. Otherwise -1 is returned and is set to indicate the error.ERRORSThe function will fail if: [EINVAL] The sig argument is not a valid signal number.APPLICATION USAGEThe function supports programs written to historical system interfaces. A portable application, when being written or rewritten, should use with the flag instead of Threads Considerations System call restart is a process attribute. Therefore, changing the restart behavior affects all threads in the process.SEE ALSOsigaction(2), <signal.h>.CHANGE HISTORYFirst released in Issue 4, Version 2. siginterrupt(2)
| Related Man Pages |
|---|
| siginterrupt(3) - mojave |
| siginterrupt(3c) - sunos |
| siginterrupt(3) - ultrix |
| siginterrupt(3) - osf1 |
| siginterrupt(3) - osx |
| Similar Topics in the Unix Linux Community |
|---|
| signals - SIGTERM |