Lines Matching refs:st
85 else if(*action=='+' && action[1]==0 && sh.st.self == &sh.global)
113 if(arg=shp->st.trap[sig])
117 if(shp->st.trap[sig])
118 free(shp->st.trap[sig]);
119 shp->st.trap[sig] = 0;
121 shp->st.trap[sig] = strdup(action);
124 if(shp->st.trap[sig])
138 char **trapcom = (shp->st.otrapcom?shp->st.otrapcom:shp->st.trapcom);
150 if(sig >= shp->st.trapmax)
151 shp->st.trapmax = sig+1;
152 arg = shp->st.trapcom[sig];
154 shp->st.trapcom[sig] = (shp->sigflag[sig]&SH_SIGOFF) ? Empty : strdup(action);
392 sig = shp->st.trapmax;
394 trapcom = (shp->st.otrapcom?shp->st.otrapcom:shp->st.trapcom);
405 if(!(trap=shp->st.trap[sig]))