Searched refs:exitval (Results 1 - 23 of 23) sorted by relevance

/ast/src/cmd/ksh93/tests/
H A Dtreemove.sh157 if ((exitval=$?))
158 then if [[ $(kill -l $exitval) == SEGV ]]
H A Dtypes.sh513 exitval=$?
514 if [[ $(kill -l $exitval) == TERM ]]
516 elif ((exitval))
606 if (( exitval=$?))
607 then if [[ $(kill -l $exitval) == SEGV ]]
H A Dio.sh280 exitval=$?
281 (( exitval )) && err_exit "print to unit $exitval failed"
H A Dnameref.sh467 exitval=$?
468 if [[ $(kill -l $exitval) == SEGV ]]
470 else if((exitval))
H A Dpath.sh353 exitval=$?
354 (( exitval==0 )) || err_exit "whence -a has exitval $exitval"
H A Dcoprocess.sh366 [[ $x == 0 ]] || err_exit "coprocess exitval should be 0, not $x"
H A Dbuiltins.sh525 exitval=$?
528 (( exitval )) && err_exit "sleep doesn't exit 0 with ALRM interupt"
/ast/src/cmd/ksh93/sh/
H A Dfault.c106 shp->exitval = SH_EXITSIG|sig;
108 shp->exitval = 0;
395 if(sh_isstate(SH_ERREXIT) && shp->exitval)
411 sh_exit(shp->exitval);
449 int jmpval, savxit = shp->exitval;
485 savxit = shp->exitval;
493 shp->exitval=savxit;
504 return(shp->exitval);
516 shp->exitval=xno;
518 shp->exitval |
[all...]
H A Dxec.c634 return(shp->exitval);
1012 shp->oldexit=shp->exitval;
1013 shp->exitval=0;
1370 shp->exitval = 0;
1391 shp->exitval = (*shp->bltinfun)(argn,com,(void*)bp);
1396 if(sh.exitval && errno==EINTR && shp->lastsig)
1397 sh.exitval = SH_EXITSIG|shp->lastsig;
1398 else if(!nv_isattr(np,BLT_EXIT) && shp->exitval!=SH_RUNPROG)
1399 shp->exitval &= SH_EXITMASK;
1474 if(shp->exitval >
2036 int *exitval=0,*saveexitval = job.exitval; local
[all...]
H A Djobs.c60 unsigned short exitval; member in struct:jobsave
251 jp->exitval = 0;
324 shp->exitval = fun?1:ERROR_NOENT;
326 shp->exitval = r;
452 jp->exitval = SH_STOPSIG;
536 jp->exitval = pw->p_exit;
538 jp->exitval |= SH_EXITSIG;
1358 pw->p_exitval = job.exitval;
1517 if((shp->exitval = job_chksave(pid)) < 0)
1518 shp->exitval
[all...]
H A Dsubshell.c475 int *saveexitval = job.exitval;
633 shp->oldexit = shp->exitval;
643 shp->exitval &= SH_EXITMASK;
707 job.exitval = saveexitval;
814 if(shp->exitval > SH_EXITSIG)
816 int sig = shp->exitval&SH_EXITMASK;
H A Dpath.c150 * the exitval is set to the maximum for each execution
158 int nlast=1,n,exitval=0; local
172 shp->exitval = 0;
195 if(saveargs || av<avlast || (exitval && !spawn))
201 if(shp->exitval>exitval)
202 exitval = shp->exitval;
212 shp->xargexit = exitval;
225 exit(exitval);
[all...]
H A Dmain.c551 shp->exitval = sh.savexit;
H A Dinit.c1461 shp->exitval = 2;
1678 job.exitval = 0;
/ast/src/lib/libtksh/include/
H A Dtksh.h267 #define Tksh_ReturnVal() (Tksh_MapReturn(sh.exitval))
268 #define Tksh_OkOrErr() ((sh.exitval == 0) ? TCL_OK : TCL_ERROR)
/ast/src/cmd/ksh93/bltins/
H A Dtrap.c218 shp->exitval = 2;
224 return(shp->exitval);
232 shp->exitval = 1;
233 return(shp->exitval);
H A Dmisc.c204 return(shp->exitval);
319 return(shp->exitval);
387 return(shp->exitval);
427 return(shp->exitval);
460 return(shp->exitval);
H A Dprint.c174 register int exitval=0,n, fd = 1; local
335 exitval = pdata.err;
364 return(exitval);
H A Dhist.c281 return(shp->exitval);
/ast/src/cmd/ksh93/include/
H A Djobs.h82 int *p_exitval; /* place to store the exitval */
100 int *exitval; /* pipe exit values */ member in struct:jobs
H A Dshell.h144 int exitval; /* most recent exit value */ member in struct:Shell_s
H A Ddefs.h281 #define exitset() (sh.savexit=sh.exitval)
/ast/src/lib/libtksh/src/
H A Deval.c40 sh.exitval = 1;

Completed in 61 milliseconds