Lines Matching refs:st
85 else if(*action=='+' && action[1]==0 && shp->st.self == &shp->global)
105 char **trap = (shp->st.otrap?shp->st.otrap:shp->st.trap);
118 shp->st.otrap = 0;
119 if(shp->st.trap[sig])
120 free(shp->st.trap[sig]);
121 shp->st.trap[sig] = 0;
123 shp->st.trap[sig] = strdup(action);
126 if(shp->st.trap[sig])
140 char **trapcom = (shp->st.otrapcom?shp->st.otrapcom:shp->st.trapcom);
152 if(sig >= shp->st.trapmax)
153 shp->st.trapmax = sig+1;
154 arg = shp->st.trapcom[sig];
156 shp->st.trapcom[sig] = (shp->sigflag[sig]&SH_SIGOFF) ? Empty : strdup(action);
398 sig = shp->st.trapmax;
400 trapcom = (shp->st.otrapcom?shp->st.otrapcom:shp->st.trapcom);
411 if(!(trap=shp->st.otrap?shp->st.otrap[sig]:shp->st.trap[sig]))