Lines Matching defs:exitval

634 	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 >=0)
1511 shp->exitval = ERROR_NOEXEC;
1516 shp->exitval = ERROR_NOENT;
1741 if(shp->exitval == (SH_EXITSIG|SIGINT))
1855 sh_done(shp,(shp->exitval&SH_EXITSIG)?(shp->exitval&SH_EXITMASK):0);
1942 type = shp->exitval;
1949 type = shp->exitval;
1954 shp->exitval = type;
2001 if(shp->exitval > 256)
2002 shp->exitval -= 128;
2036 int *exitval=0,*saveexitval = job.exitval;
2042 job.exitval = 0;
2077 exitval = job.exitval = (int*)stakalloc(job.waitall*sizeof(int));
2078 memset(exitval,0,job.waitall*sizeof(int));
2157 n = shp->exitval;
2169 if(n==0 && exitval)
2171 while(exitval <= --job.exitval)
2173 if(*job.exitval)
2175 n = *job.exitval;
2180 shp->exitval = n;
2186 job.exitval = saveexitval;
2288 shp->exitval=sh_readline(shp,&nullptr,0,1,(size_t)0,1000*shp->st.tmout);
2290 if(shp->exitval||sfeof(sfstdin)||sferror(sfstdin))
2292 shp->exitval = 1;
2465 shp->exitval= r;
2497 shp->exitval = !arith_exec((Arith_t*)t->ar.arcomp);
2499 shp->exitval = !sh_arith(shp,arg[1]);
2518 shp->exitval=0; /* force zero exit for if-then-fi */
2599 shp->exitval = !shp->exitval;
2835 n = !shp->exitval;
2903 shp->exitval = ((!n)^negate);
2909 if(shp->trapnote || (shp->exitval && sh_isstate(SH_ERREXIT)) &&
2954 return(shp->exitval);
3152 if(job.exitval)
3153 job.exitval++;
3427 r = shp->exitval;
3460 r=shp->exitval;
3577 shp->exitval = 0;
3578 shp->exitval = ((Shbltin_f)funptr(np))(n,argv,bp);
3592 return(shp->exitval);
3896 shp->exitval = 0;
3950 shp->exitval = 0;