Lines Matching refs:action
22 * trap [-p] action sig...
68 char *action = arg;
74 clear = (arg!=action && *arg==0);
78 if(*action=='-' && action[1]==0)
85 else if(*action=='+' && action[1]==0 && shp->st.self == &shp->global)
122 if(!clear && *action)
123 shp->st.trap[sig] = strdup(action);
156 shp->st.trapcom[sig] = (shp->sigflag[sig]&SH_SIGOFF) ? Empty : strdup(action);