Loading...
Select Version
&pagelevel(4)&pagelevel
Syntax | #include <signal.h> int siginterrupt(int sig, int flag); |
Description siginterrupt ()
is used to modify the restart behavior of system calls if the system call
was interrupted by the specified signal. the function has the same effect as the following siginterrupt(int sig, int flag) { int ret; struct sigaction act; (void) sigaction(sig, NULL, &act); if (flag) act.sa_flags &=~SA_RESTART; else act.sa_fags |= SA_RESTART; ret=sigaction(sig, &act, NULL); return ret; } | |||
Return val. | 0 -1 | if successful. if an error occurs. | |
Errors |
| ||
Notes |
| ||
See also |
|