/*
* Add IRIX-like sigaction_t for those without it.
- * SA_RESTART is not required by POSIX; SunOS has SA_INTERRUPT instead.
*/
#ifndef HAVE_SIGACTION_T
typedef struct sigaction sigaction_t;
#endif
-#ifndef SA_INTERRUPT
-# define SA_INTERRUPT 0
-#endif
-#ifndef SA_RESTART
-# define SA_RESTART 0
-#endif
/*
* The nitems macro may be defined in sys/param.h
got_signal = 0;
memset(&sa, 0, sizeof(sa));
sigemptyset(&sa.sa_mask);
- sa.sa_flags = SA_INTERRUPT; /* don't restart system calls */
+ sa.sa_flags = 0; /* don't restart system calls */
sa.sa_handler = timestamp_handler;
(void) sigaction(SIGINT, &sa, &saveint);
(void) sigaction(SIGQUIT, &sa, &savequit);
*/
memset(&sa, 0, sizeof(sa));
sigemptyset(&sa.sa_mask);
- sa.sa_flags = SA_INTERRUPT; /* do not restart syscalls */
+ sa.sa_flags = 0; /* do not restart syscalls */
sa.sa_handler = sigttou;
got_sigttou = 0;
(void)sigaction(SIGTTOU, &sa, &osa);
*/
memset(&sa, 0, sizeof(sa));
sigemptyset(&sa.sa_mask);
- sa.sa_flags = SA_INTERRUPT; /* don't restart system calls */
+ sa.sa_flags = 0; /* don't restart system calls */
sa.sa_handler = tgetpass_handler;
(void) sigaction(SIGALRM, &sa, &savealrm);
(void) sigaction(SIGINT, &sa, &saveint);