/original-bsd/lib/libc/compat-43/ |
H A D | sigcompat.c | 32 int omask, n; local 34 n = sigprocmask(SIG_SETMASK, (sigset_t *) &mask, (sigset_t *) &omask); 37 return (omask); 43 int omask, n; local 45 n = sigprocmask(SIG_BLOCK, (sigset_t *) &mask, (sigset_t *) &omask); 48 return (omask);
|
/original-bsd/lib/libc/stdlib/ |
H A D | system.c | 25 int omask; local 31 omask = sigblock(sigmask(SIGCHLD)); 34 (void)sigsetmask(omask); 39 (void)sigsetmask(omask); 46 (void)sigsetmask(omask);
|
/original-bsd/lib/libc/gen/ |
H A D | sleep.c | 28 long omask; local 56 omask = sigblock(sigmask(SIGALRM)); 60 sigpause(omask &~ sigmask(SIGALRM)); 62 (void) sigsetmask(omask);
|
H A D | usleep.c | 31 long omask; local 59 omask = sigblock(sigmask(SIGALRM)); 63 sigpause(omask &~ sigmask(SIGALRM)); 65 (void) sigsetmask(omask);
|
H A D | getpass.c | 28 long omask; local 44 omask = sigblock(sigmask(SIGINT)|sigmask(SIGTSTP)); 61 (void)sigsetmask(omask);
|
H A D | syslog.c | 203 int omask; local 205 omask = LogMask; 208 return (omask);
|
/original-bsd/games/tetris/ |
H A D | screen.c | 224 volatile int omask; in scr_set() local 227 omask = sigblock(sigmask(SIGTSTP) | sigmask(SIGTTOU)); in scr_set() 238 (void) sigsetmask(omask); in scr_set() 263 omask = sigblock(sigmask(SIGTSTP) | sigmask(SIGTTOU)); in scr_set() 276 (void) sigsetmask(omask); in scr_set() 286 int omask = sigblock(sigmask(SIGTSTP) | sigmask(SIGTTOU)); in scr_end() local 301 (void) sigsetmask(omask); in scr_end() 342 int omask = sigblock(sigmask(SIGTSTP)); in scr_update() local 402 (void) sigsetmask(omask); in scr_update()
|
/original-bsd/usr.bin/tip/ |
H A D | tipout.c | 95 int omask; in tipout() local 105 for (omask = 0;; sigsetmask(omask)) { in tipout() 117 omask = sigblock(ALLSIGS); in tipout()
|
/original-bsd/libexec/rbootd/ |
H A D | rbootd.c | 65 int c, fd, omask, maxfds; local 233 omask = sigblock(sigmask(SIGHUP)); /* prevent reconfig's */ 246 (void) sigsetmask(omask); /* allow reconfig's */ 293 omask = sigblock(sigmask(SIGHUP)); 308 (void) sigsetmask(omask); 314 (void) sigsetmask(omask);
|
H A D | parseconf.c | 63 int omask, linecnt = 0; in ParseConfig() local 83 omask = sigblock(sigmask(SIGHUP)); in ParseConfig() 185 (void) sigsetmask(omask); /* reset signal mask */ in ParseConfig()
|
H A D | utils.c | 61 int i, omask; local 68 omask = sigblock(sigmask(SIGHUP)|sigmask(SIGUSR1)|sigmask(SIGUSR2)); 71 (void) sigsetmask(omask); 156 (void) sigsetmask(omask); /* reset old signal mask */
|
/original-bsd/usr.bin/apply/ |
H A D | apply.c | 169 int omask; local 183 omask = sigblock(sigmask(SIGCHLD)); 188 (void)sigsetmask(omask); 195 (void)sigsetmask(omask);
|
/original-bsd/libexec/ftpd/ |
H A D | popen.c | 125 int fdes, omask, status; local 135 omask = sigblock(sigmask(SIGINT)|sigmask(SIGQUIT)|sigmask(SIGHUP)); 138 (void)sigsetmask(omask);
|
/original-bsd/sbin/routed/ |
H A D | main.c | 44 int n, cc, nfd, omask, tflags = 0; local 199 omask = sigblock(sigmask(SIGALRM)); 212 sigsetmask(omask); 216 omask = sigblock(sigmask(SIGALRM)); 235 sigsetmask(omask);
|
/original-bsd/usr.bin/systat/ |
H A D | cmds.c | 26 int interval, omask; local 28 omask = sigblock(sigmask(SIGALRM)); 115 sigsetmask(omask);
|
/original-bsd/usr.bin/rsh/ |
H A D | rsh.c | 73 long omask; local 263 omask = sigblock(sigmask(SIGINT)|sigmask(SIGQUIT)|sigmask(SIGTERM)); 287 talk(nflag, omask, pid, rem); 295 talk(nflag, omask, pid, rem) in talk() argument 297 long omask; 346 (void)sigsetmask(omask);
|
/original-bsd/sbin/XNSrouted/ |
H A D | main.c | 149 int fromlen = sizeof (from), cc, omask; local 175 omask = sigblock(mask(SIGALRM)); 177 sigsetmask(omask);
|
/original-bsd/usr.bin/tip/aculib/ |
H A D | courier.c | 326 int omask; in cour_nap() local 336 omask = sigblock(mask(SIGALRM)); in cour_nap() 344 sigpause(omask &~ mask(SIGALRM)); in cour_nap() 347 (void) sigsetmask(omask); in cour_nap()
|
H A D | t3000.c | 354 int omask; in t3000_nap() local 364 omask = sigblock(mask(SIGALRM)); in t3000_nap() 372 sigpause(omask &~ mask(SIGALRM)); in t3000_nap() 375 (void) sigsetmask(omask); in t3000_nap()
|
/original-bsd/usr.sbin/sendmail/EPA/mldistrib/ |
H A D | mldistrib.c | 472 int omask; local 477 omask = sigblock(sigmask(SIGINT)|sigmask(SIGQUIT)|sigmask(SIGHUP)); 481 (void)sigsetmask(omask);
|
/original-bsd/usr.bin/mail/ |
H A D | collect.c | 56 int omask; local 64 omask = sigblock(sigmask(SIGINT) | sigmask(SIGHUP)); 76 sigsetmask(omask & ~(sigmask(SIGINT) | sigmask(SIGHUP))); 355 sigsetmask(omask);
|
H A D | fio.c | 253 static int omask; variable 262 omask = sigblock(sigmask(SIGHUP)|sigmask(SIGINT)|sigmask(SIGQUIT)); in holdsigs() 273 sigsetmask(omask); in relsesigs()
|
H A D | popen.c | 113 int omask; local 118 omask = sigblock(sigmask(SIGINT)|sigmask(SIGHUP)); 120 sigsetmask(omask);
|
/original-bsd/libexec/rlogind/ |
H A D | rlogind.c | 362 fd_set ibits, obits, ebits, *omask; local 367 omask = (fd_set *)NULL; 370 omask = &obits; 376 omask = &obits; 380 if ((n = select(nfd, &ibits, omask, &ebits, 0)) < 0) {
|
/original-bsd/usr.sbin/lpr/lpd/ |
H A D | lpd.c | 92 int omask, lfd; local 154 omask = sigblock(mask(SIGHUP)|mask(SIGINT)|mask(SIGQUIT)|mask(SIGTERM)); 169 sigsetmask(omask);
|