Lines Matching refs:st
87 trap = shp->st.trapcom[sig];
253 shp->st.trapcom = (char**)calloc(n,sizeof(char*));
280 sh.st.otrapcom = 0;
325 register int flag, sig=sh.st.trapmax;
328 if(trap=sh.st.trapcom[sig])
335 sh.st.trapcom[sig] = 0;
349 if(trap=sh.st.trap[sig])
353 sh.st.trap[sig] = 0;
357 sh.st.trapcom[0] = 0;
359 sh.st.trapmax = 0;
370 sh.st.otrapcom=0;
374 if(trap=sh.st.trapcom[sig])
378 sh.st.trapcom[sig]=0;
389 register int sig=shp->st.trapmax;
399 if(shp->st.trap[SH_ERRTRAP])
401 trap = shp->st.trap[SH_ERRTRAP];
402 shp->st.trap[SH_ERRTRAP] = 0;
404 shp->st.trap[SH_ERRTRAP] = trap;
417 if((shp->sigflag[SIGCHLD]&SH_SIGTRAP) && shp->st.trapcom[SIGCHLD])
418 job_chldtrap(shp,shp->st.trapcom[SIGCHLD],1);
431 if(trap=shp->st.trapcom[sig])
611 if(t=shp->st.trapcom[0])
613 shp->st.trapcom[0]=0; /*should free but not long */