Searched refs:jp (Results 1 - 6 of 6) sorted by relevance

/ast/src/cmd/coshell/
H A Djob.c40 Cojob_t* jp; local
47 for (jp = state.job; jp <= state.jobmax; jp++)
48 if (jp->fd == fd && jp->pid)
50 jp->fd = 0;
51 jobkill(jp, SIGKILL);
75 if ((jp = state.con[fd].info.pass.job) && jp
106 register Cojob_t* jp; local
192 jobkill(Cojob_t* jp, int sig) argument
216 jobdone(register Cojob_t* jp) argument
[all...]
H A Dshell.c149 register Cojob_t* jp; local
174 for (jp = state.job; sp->running && jp <= state.jobmax; jp++)
175 if (jp->shell == sp && jp->pid)
177 if (jp->cmd)
181 jp->shell = 0;
182 shellexec(jp, jp
203 shellexec(Cojob_t* jp, char* msg, int fd) argument
[all...]
H A Dmain.c287 Cojob_t* jp; local
332 if ((jp = state.job + (int)strtol(s, NiL, 0)) > state.jobmax) continue;
348 i = jp->pid;
349 jp->pid = (int)strtol(s, NiL, 0);
351 if (jp->cmd)
353 free(jp->cmd);
354 jp->cmd = 0;
404 jp->status = strtol(s, &t, 10);
405 jp->sig = 0;
410 jp
[all...]
/ast/src/lib/libcmd/
H A Djoin.c167 done(register Join_t* jp) argument
169 if (jp->file[0].iop && jp->file[0].iop != sfstdin)
170 sfclose(jp->file[0].iop);
171 if (jp->file[1].iop && jp->file[1].iop != sfstdin)
172 sfclose(jp->file[1].iop);
173 if (jp->outlist)
174 free(jp->outlist);
175 if (jp
187 register Join_t* jp; local
214 getolist(Join_t* jp, const char* first, char** arglist) argument
295 getrec(Join_t* jp, int index, int discard) argument
459 outfield(Join_t* jp, int index, register int n, int last) argument
550 outrec(register Join_t* jp, int mode) argument
630 join(Join_t* jp) argument
820 register Join_t* jp; local
[all...]
/ast/src/cmd/ksh93/sh/
H A Djobs.c84 register struct jobsave *jp; local
87 jp = newof(0,struct jobsave,1,0);
88 jp->next = job_savelist;
89 job_savelist = jp;
235 register struct jobsave *jp = job_savelist; local
239 if(jp)
242 job_savelist = jp->next;
245 jp = newof(0,struct jobsave,1,0);
246 if(jp)
248 jp
343 struct jobsave *jp; local
871 register char *jp; local
1256 register struct jobsave *jp,*jpnext; local
1815 struct jobsave *jp; local
1941 register struct jobsave *jp = bck.list, *jpold=0; local
1998 register struct jobsave *jp; local
[all...]
/ast/src/cmd/sort/
H A Dmain.c953 Job_t* jp; local
987 for (jp = sp->jobs; jp < sp->jobs + n; jp++)
989 jp->offset = offset;
992 total -= (jp->size = size);
993 jp->chunk = chunk;
994 jp->intermediates = i;
1034 for (jp = sp->jobs; jp < s
1529 register Job_t* jp; local
[all...]

Completed in 19 milliseconds