Lines Matching +defs:arg +defs:list
273 /* returns signal index or -1 if bad arg */
307 int n; /* number of signals in list */
308 Tcl_Obj **list; /* list of signals */
309 char *arg;
323 arg = Tcl_GetString(*objv);
325 if (streq(arg,"-code")) {
328 } else if (streq(arg,"-interp")) {
331 } else if (streq(arg,"-name")) {
334 } else if (streq(arg,"-number")) {
337 } else if (streq(arg,"-max")) {
367 int sig = exp_string_to_signal(interp,arg);
378 action = arg;
380 /* objv[1] is the list of signals - crack it open */
381 if (TCL_OK != Tcl_ListObjGetElements(interp,objv[1],&n,&list)) {
389 s = Tcl_GetString(list[i]);
424 /* It is no longer necessary to free the split list since it */
426 /* ckfree((char *)list); */
429 exp_error(interp,"usage: trap [command or SIG_DFL or SIG_IGN] {list of signals}");