Lines Matching refs:shp
49 register Shell_t *shp = ((Shbltin_t*)extra)->shp;
53 if(!(shp->sigflag[SIGALRM]&(SH_SIGFAULT|SH_SIGOFF)))
106 shp->lastsig=0;
108 if(sflag || tloc==0 || errno!=EINTR || shp->lastsig)
114 if(shp->sigflag[SIGALRM]&SH_SIGTRAP)
128 Shell_t *shp = &sh;
132 shp->lastsig = 0;
136 if(!shp->waitevent || (*shp->waitevent)(-1,-1L,0)==0)
138 if(shp->sigflag[SIGALRM]&SH_SIGTRAP)
143 shp->lastsig = 0;
144 shp->trapnote &= ~SH_SIGSET;
152 while(!expired && shp->lastsig==0);
166 Shell_t *shp = &sh;
178 if(!shp->waitevent || (*shp->waitevent)(-1,(long)n,0)==0)
186 if(n=(int)(1000*t) && shp->waitevent && (*shp->waitevent)(-1,(long)n,0))
204 if(!shp->waitevent || (*shp->waitevent)(-1,(long)n,0)==0)
218 t *= shp->lim.clk_tck;