Lines Matching refs:flag
170 register int sig=SIGTERM, flag=0, n;
186 flag |= S_FLAG;
192 flag |= L_FLAG;
202 if(error_info.errors || flag==(L_FLAG|S_FLAG) || (!(*argv) && !(flag&L_FLAG)))
206 if(flag&L_FLAG)
226 if(flag&S_FLAG)
355 * if <flag> is positive, then print signal name corresponding to <flag>
356 * if <flag> is zero, then print all signal names
357 * if <flag> is -1, then print all signal names in menu format
358 * if <flag> is <-1, then print all traps
360 static void sig_list(register Shell_t *shp,register int flag)
369 if(flag<=0)
382 if(sig==flag)
392 if(flag > 0)
393 sfputr(sfstdout, sig_name(shp,flag-1,name,0), '\n');
394 else if(flag<-1)
424 if(flag)
427 if(flag)
432 if(flag)