40 Xpipewait, "Xpipewait",
41 Xpopredir, "Xpopredir",
43 (void (*)(void))Xerror, "Xerror",
46 Xsubshell, "Xsubshell",
58 pfnc(io *fd, thread *t)
61 void (*fn)(void) = t->code[t->pc].f;
64 pfmt(fd, "%s:%d: pid %d cycle %p %d ", t->cmdfile, t->line, getpid(), t->code, t->pc);
65 for(i = 0;fname[i].f;i++) if(fname[i].f==fn){
66 pstr(fd, fname[i].name);
71 for(a = t->argv;a;a = a->next) pfmt(fd, " (%v)", a->words);