Home
last modified time | relevance | path

Searched refs:exstat (Results 1 – 7 of 7) sorted by relevance

/external/mksh/src/
Dmain.c475 exstat = 127; in main_init()
692 return (exstat & 0xFF); in include()
698 if (intr_ok && ((exstat & 0xFF) - 128) != SIGTERM) in include()
844 exstat = execute(t, 0, NULL) & 0xFF; in shell()
854 return (exstat & 0xFF); in shell()
981 int sig = (exstat & 0xFF) - 128; in quitenv()
1017 exit(exstat & 0xFF); in quitenv()
1202 exstat = rc; in errorfx()
1218 exstat = 1; in errorf()
1253 exstat = 1; in bi_errorf()
Dhistrap.c1294 exstat = (int)(128U + (unsigned)i); in runtrap()
1295 if ((unsigned)exstat > 255U) in runtrap()
1296 exstat = 255; in runtrap()
1316 trap_exstat = exstat & 0xFF; in runtrap()
1334 exstat = trap_exstat; in runtrap()
Dexec.c163 exstat = rv = 1; in execute()
464 exstat = rv & 0xFF; in execute()
838 rv = exstat & 0xFF; in comexec()
902 exstat = rv & 0xFF; in comexec()
Dfuncs.c2320 exstat |= 0x4000; in c_eval()
2328 if (exstat & 0x4000) in c_eval()
2388 exstat = bi_getn(wp[1], &n) ? (n & 0xFF) : 1; in c_exitreturn()
2390 exstat = trap_exstat; in c_exitreturn()
Deval.c1359 subst_exstat = exstat & 0xFF; in comsub()
1365 subst_exstat = exstat & 0xFF; in comsub()
Dvar.c271 vp->val.i = exstat & 0xFF; in global()
Dsh.h800 EXTERN int exstat; /* exit status */ variable