Searched refs:savesig (Results 1 – 12 of 12) sorted by relevance
/illumos-gate/usr/src/contrib/ast/src/lib/libast/uwin/ |
H A D | getpass.c | 55 void (*savesig)(int); in getpass() local 65 savesig = signal(SIGINT, handler); in getpass() 72 signal(SIGINT, savesig); in getpass()
|
/illumos-gate/usr/src/tools/cscope-fast/ |
H A D | input.c | 67 SIGTYPE (*volatile savesig)() = SIG_DFL; /* old value of signal */ in mygetch() local 72 savesig = signal(SIGINT, catchint); in mygetch() 84 (void) signal(SIGINT, savesig); in mygetch()
|
H A D | display.c | 389 SIGTYPE (*volatile savesig)() = SIG_DFL; /* old value of signal */ in search() local 410 savesig = signal(SIGINT, jumpback); in search() 433 (void) signal(SIGINT, savesig); in search()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | subshell.c | 194 shp->savesig = -1; in sh_subfork() 219 shp->savesig = 0; in sh_subfork() 492 shp->savesig = -1; in sh_subshell() 628 if(shp->savesig < 0) in sh_subshell() 630 shp->savesig = 0; in sh_subshell() 652 if(!shp->savesig) in sh_subshell() 653 shp->savesig = -1; in sh_subshell() 809 nsig = shp->savesig; in sh_subshell() 810 shp->savesig = 0; in sh_subshell()
|
H A D | jobs.c | 371 job.savesig = 0; in job_reap() 421 if(pid<0 && errno==EINTR && (sig||job.savesig)) in job_reap() 591 job.savesig = sig; in job_waitsafe() 1441 pw->p_pid,pw->p_pgrp,job.savesig,join); in job_post() 1563 job_reap(job.savesig); in job_wait() 1675 nochild = job_reap(job.savesig); in job_wait()
|
H A D | fault.c | 88 if(shp->savesig) in sh_fault() 92 shp->savesig = sig; in sh_fault()
|
H A D | xec.c | 162 while(job.waitsafe && job.savesig==SIGCHLD) in iounpipe() 3240 sig = shp->savesig; in _sh_fork() 3241 shp->savesig = 0; in _sh_fork() 3258 shp->savesig = -1; in sh_fork() 3263 sig = shp->savesig; in sh_fork() 3264 shp->savesig = 0; in sh_fork()
|
H A D | io.c | 1966 if(job.waitsafe && job.savesig) in piperead()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/include/ |
H A D | jobs.h | 108 int savesig; /* active signal */ member 156 if (!--job.in_critical && (sig = job.savesig)) \
|
H A D | defs.h | 188 int savesig; \
|
/illumos-gate/usr/src/cmd/mailx/ |
H A D | collect.c | 80 static void (*savesig)(int); /* Previous SIGINT value */ variable 129 if ((savesig = sigset(SIGINT, SIG_IGN)) != SIG_IGN) in collect() 135 if ((savesig = sigset(SIGINT, SIG_IGN)) != SIG_IGN) in collect() 140 if ((savesig = sigset(SIGINT, SIG_IGN)) != SIG_IGN) { in collect() 747 (void) sigset(SIGINT, savesig); in resetsigs() 1361 sigset(SIGINT, savesig); in xhalt()
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | conf.c | 2695 int savesig; local 2699 savesig = sm_releasesignal(SIGCHLD); 2703 if (savesig > 0)
|