Lines Matching refs:shp
49 register Shell_t *shp = ((Shbltin_t*)extra)->shp; in b_sleep() local
53 if(!(shp->sigflag[SIGALRM]&(SH_SIGFAULT|SH_SIGOFF))) in b_sleep()
106 shp->lastsig=0; in b_sleep()
108 if(sflag || tloc==0 || errno!=EINTR || shp->lastsig) in b_sleep()
114 if(shp->sigflag[SIGALRM]&SH_SIGTRAP) in b_sleep()
128 Shell_t *shp = &sh; in sleep() local
132 shp->lastsig = 0; in sleep()
136 if(!shp->waitevent || (*shp->waitevent)(-1,-1L,0)==0) in sleep()
138 if(shp->sigflag[SIGALRM]&SH_SIGTRAP) in sleep()
143 shp->lastsig = 0; in sleep()
144 shp->trapnote &= ~SH_SIGSET; in sleep()
152 while(!expired && shp->lastsig==0); in sleep()
163 Shell_t *shp = sh_getinterp(); in sh_delay() local
170 if (shp->trapnote & (SH_SIGSET | SH_SIGTRAP)) return; in sh_delay()