Lines Matching refs:oldset
696 static int gl_mask_signals(GetLine *gl, sigset_t *oldset);
702 static int gl_unmask_signals(GetLine *gl, sigset_t *oldset);
5799 sigset_t oldset; /* The signals that were blocked on entry to this function */
5812 gl_mask_signals(gl, &oldset);
5821 gl_unmask_signals(gl, &oldset);
5844 sigset_t oldset; /* The signals that were blocked on entry to this function */
5856 if(gl_mask_signals(gl, &oldset))
5865 gl_unmask_signals(gl, &oldset);
8396 sigset_t oldset; /* The signals that were blocked on entry to this function */
8408 if(gl_mask_signals(gl, &oldset))
8417 gl_unmask_signals(gl, &oldset);
8540 sigset_t oldset; /* The signals that were blocked on entry to this function */
8554 if(gl_mask_signals(gl, &oldset))
8563 gl_unmask_signals(gl, &oldset);
8621 sigset_t oldset; /* The signals that were blocked on entry to this function */
8635 if(gl_mask_signals(gl, &oldset))
8644 gl_unmask_signals(gl, &oldset);
8715 sigset_t oldset; /* The signals that were blocked on entry to this function */
8732 if(gl_mask_signals(gl, &oldset))
8741 gl_unmask_signals(gl, &oldset);
8891 sigset_t oldset; /* The signals that were blocked on entry to this function */
8902 if(gl_mask_signals(gl, &oldset))
8919 gl_unmask_signals(gl, &oldset);
9209 sigset_t oldset; /* The signals that were blocked on entry to this function */
9221 if(gl_mask_signals(gl, &oldset))
9246 gl_unmask_signals(gl, &oldset);
9282 sigset_t oldset; /* The signals that were blocked on entry to this function */
9296 if(gl_mask_signals(gl, &oldset))
9308 gl_unmask_signals(gl, &oldset);
9327 sigset_t oldset; /* The signals that were blocked on entry */
9332 gl_mask_signals(gl, &oldset);
9340 gl_unmask_signals(gl, &oldset);
9441 sigset_t oldset; /* The signals that were blocked on entry to this function */
9451 if(gl_mask_signals(gl, &oldset))
9462 gl_unmask_signals(gl, &oldset);
9479 sigset_t oldset; /* The signals that were blocked on entry to this block */
9483 gl_mask_signals(gl, &oldset);
9491 gl_unmask_signals(gl, &oldset);
9508 sigset_t oldset; /* The signals that were blocked on entry to this block */
9512 gl_mask_signals(gl, &oldset);
9520 gl_unmask_signals(gl, &oldset);
9535 sigset_t oldset; /* The signals that were blocked on entry to this block */
9539 gl_mask_signals(gl, &oldset);
9547 gl_unmask_signals(gl, &oldset);
9580 sigset_t oldset; /* The signals that were blocked on entry to this function */
9590 if(gl_mask_signals(gl, &oldset))
9602 gl_unmask_signals(gl, &oldset);
9619 sigset_t oldset; /* The signals that were blocked on entry to this block */
9623 gl_mask_signals(gl, &oldset);
9632 gl_unmask_signals(gl, &oldset);
9648 sigset_t oldset; /* The signals that were blocked on entry to this block */
9652 gl_mask_signals(gl, &oldset);
9661 gl_unmask_signals(gl, &oldset);
9678 sigset_t oldset; /* The signals that were blocked on entry to this block */
9682 gl_mask_signals(gl, &oldset);
9690 gl_unmask_signals(gl, &oldset);
9736 sigset_t oldset; /* The signals that were blocked on entry to this block */
9741 gl_mask_signals(gl, &oldset);
9751 gl_unmask_signals(gl, &oldset);
9931 sigset_t oldset; /* The signals that were blocked on entry to this block */
9935 gl_mask_signals(gl, &oldset);
9943 gl_unmask_signals(gl, &oldset);
10057 sigset_t oldset; /* The signals that were blocked on entry to this block */
10061 gl_mask_signals(gl, &oldset);
10074 gl_unmask_signals(gl, &oldset);
10098 sigset_t oldset; /* The signals that were blocked on entry to this function */
10110 if(gl_mask_signals(gl, &oldset))
10119 gl_unmask_signals(gl, &oldset);
10205 sigset_t oldset; /* The signals that were blocked on entry to this */
10217 if(gl_mask_signals(gl, &oldset))
10246 gl_unmask_signals(gl, &oldset);
10327 sigset_t oldset; /* The signals that were blocked on entry to this block */
10331 gl_mask_signals(gl, &oldset);
10339 gl_unmask_signals(gl, &oldset);
10610 sigset_t oldset; /* The signals that were blocked on entry to this block */
10614 gl_mask_signals(gl, &oldset);
10622 gl_unmask_signals(gl, &oldset);
10642 sigset_t oldset; /* The signals that were blocked on entry to this block */
10646 gl_mask_signals(gl, &oldset);
10654 gl_unmask_signals(gl, &oldset);
10681 sigset_t oldset; /* The signals that were blocked on entry to this function */
10693 if(gl_mask_signals(gl, &oldset))
10712 gl_unmask_signals(gl, &oldset);
10773 sigset_t oldset; /* The signals that were blocked on entry to this function */
10785 if(gl_mask_signals(gl, &oldset))
10794 gl_unmask_signals(gl, &oldset);
10886 sigset_t oldset; /* The signals that were blocked on entry to this function */
10898 if(gl_mask_signals(gl, &oldset))
10907 gl_unmask_signals(gl, &oldset);
11012 sigset_t oldset; /* The signals that were blocked on entry to this function */
11024 if(gl_mask_signals(gl, &oldset))
11033 gl_unmask_signals(gl, &oldset);
11307 sigset_t oldset; /* The signals that were blocked on entry to this function */
11319 if(gl_mask_signals(gl, &oldset))
11331 gl_unmask_signals(gl, &oldset);
11341 * oldset sigset_t * The superseded process signal mask
11342 * will be return in *oldset unless oldset is
11348 static int gl_mask_signals(GetLine *gl, sigset_t *oldset)
11354 if(sigprocmask(SIG_BLOCK, &gl->all_signal_set, oldset) >= 0) {
11360 * that oldset be the correct process signal mask to restore later
11363 if(oldset)
11364 (void) sigprocmask(SIG_SETMASK, NULL, oldset);
11371 * oldset argument of gl_mask_signals().
11376 * oldset sigset_t * The process signal mask to be restored.
11381 static int gl_unmask_signals(GetLine *gl, sigset_t *oldset)
11384 return sigprocmask(SIG_SETMASK, oldset, NULL) < 0;
11413 sigset_t oldset; /* The signals that were blocked on entry to this function */
11438 if(gl_mask_signals(gl, &oldset))
11447 gl_unmask_signals(gl, &oldset);
11516 sigset_t oldset; /* The signals that were blocked on entry to this block */
11520 gl_mask_signals(gl, &oldset);
11531 gl_unmask_signals(gl, &oldset);
11592 sigset_t oldset; /* The process signal mask to restore */
11604 gl_mask_signals(gl, &oldset);
11614 gl_unmask_signals(gl, &oldset);
11652 sigset_t oldset; /* The process signal mask to restore */
11672 sigprocmask(SIG_BLOCK, &all_signals, &oldset);
11695 sigprocmask(SIG_SETMASK, &oldset, NULL);
11724 sigset_t oldset; /* The signal mask on entry to this function */
11738 sigprocmask(SIG_BLOCK, &all_signals, &oldset);
11790 sigprocmask(SIG_SETMASK, &oldset, NULL);
11834 sigset_t oldset; /* The process signal mask to restore */
11845 gl_mask_signals(gl, &oldset);
11854 gl_unmask_signals(gl, &oldset);
11900 sigset_t oldset; /* The signals that were blocked on entry */
11906 gl_mask_signals(gl, &oldset);
11914 gl_unmask_signals(gl, &oldset);
12448 sigset_t oldset; /* The signals that were blocked on entry */
12454 gl_mask_signals(gl, &oldset);
12468 gl_unmask_signals(gl, &oldset);
12498 sigset_t oldset; /* The signals that were blocked on entry */
12511 if(gl_mask_signals(gl, &oldset))
12520 gl_unmask_signals(gl, &oldset);
12556 sigset_t oldset; /* The signals that were blocked on entry */
12568 if(gl_mask_signals(gl, &oldset))
12577 gl_unmask_signals(gl, &oldset);