Home
last modified time | relevance | path

Searched refs:omask (Results 1 – 25 of 37) sorted by relevance

12

/original-bsd/lib/libc/compat-43/
H A Dsigcompat.c32 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 Dsystem.c25 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 Dsleep.c28 long omask; local
56 omask = sigblock(sigmask(SIGALRM));
60 sigpause(omask &~ sigmask(SIGALRM));
62 (void) sigsetmask(omask);
H A Dusleep.c31 long omask; local
59 omask = sigblock(sigmask(SIGALRM));
63 sigpause(omask &~ sigmask(SIGALRM));
65 (void) sigsetmask(omask);
H A Dgetpass.c28 long omask; local
44 omask = sigblock(sigmask(SIGINT)|sigmask(SIGTSTP));
61 (void)sigsetmask(omask);
H A Dsyslog.c203 int omask; local
205 omask = LogMask;
208 return (omask);
/original-bsd/games/tetris/
H A Dscreen.c224 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 Dtipout.c95 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 Drbootd.c65 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 Dparseconf.c63 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 Dutils.c61 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 Dapply.c169 int omask; local
183 omask = sigblock(sigmask(SIGCHLD));
188 (void)sigsetmask(omask);
195 (void)sigsetmask(omask);
/original-bsd/libexec/ftpd/
H A Dpopen.c125 int fdes, omask, status; local
135 omask = sigblock(sigmask(SIGINT)|sigmask(SIGQUIT)|sigmask(SIGHUP));
138 (void)sigsetmask(omask);
/original-bsd/sbin/routed/
H A Dmain.c44 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 Dcmds.c26 int interval, omask; local
28 omask = sigblock(sigmask(SIGALRM));
115 sigsetmask(omask);
/original-bsd/usr.bin/rsh/
H A Drsh.c73 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 Dmain.c149 int fromlen = sizeof (from), cc, omask; local
175 omask = sigblock(mask(SIGALRM));
177 sigsetmask(omask);
/original-bsd/usr.bin/tip/aculib/
H A Dcourier.c326 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 Dt3000.c354 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 Dmldistrib.c472 int omask; local
477 omask = sigblock(sigmask(SIGINT)|sigmask(SIGQUIT)|sigmask(SIGHUP));
481 (void)sigsetmask(omask);
/original-bsd/usr.bin/mail/
H A Dcollect.c56 int omask; local
64 omask = sigblock(sigmask(SIGINT) | sigmask(SIGHUP));
76 sigsetmask(omask & ~(sigmask(SIGINT) | sigmask(SIGHUP)));
355 sigsetmask(omask);
H A Dfio.c253 static int omask; variable
262 omask = sigblock(sigmask(SIGHUP)|sigmask(SIGINT)|sigmask(SIGQUIT)); in holdsigs()
273 sigsetmask(omask); in relsesigs()
H A Dpopen.c113 int omask; local
118 omask = sigblock(sigmask(SIGINT)|sigmask(SIGHUP));
120 sigsetmask(omask);
/original-bsd/libexec/rlogind/
H A Drlogind.c362 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 Dlpd.c92 int omask, lfd; local
154 omask = sigblock(mask(SIGHUP)|mask(SIGINT)|mask(SIGQUIT)|mask(SIGTERM));
169 sigsetmask(omask);

12