Home
last modified time | relevance | path

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

/system/core/sh/
Dmain.c127 exitstatus = exerrno; in main()
131 exitstatus = 2; in main()
140 exitshell(exitstatus); in main()
217 exitshell(exitstatus); in main()
367 exitstatus = 0; in dotcmd()
381 return exitstatus; in dotcmd()
391 exitstatus = number(argv[1]); in exitcmd()
392 exitshell(exitstatus); in exitcmd()
Deval.c100 int exitstatus; /* exit status of last command */ variable
128 exitstatus = 0;
187 return exitstatus; in evalcmd()
224 exitstatus = 0; in evaltree()
241 if (evalskip || exitstatus != 0) in evaltree()
247 if (evalskip || exitstatus == 0) in evaltree()
267 if (exitstatus == 0) in evaltree()
272 exitstatus = 0; in evaltree()
287 exitstatus = 0; in evaltree()
291 exitstatus = !exitstatus; in evaltree()
[all …]
Deval.h38 extern int exitstatus; /* exit status of last command */
Dtrap.c397 savestatus=exitstatus; in dotrap()
399 exitstatus=savestatus; in dotrap()
Dinit.c1039 exitstatus = 0; in initshellproc()
Dexpand.c852 num = exitstatus; in varvalue()
DTOUR220 status is returned in the global variable exitstatus. The alter-