Home
last modified time | relevance | path

Searched refs:exitcode (Results 1 – 25 of 44) sorted by relevance

12

/busybox-1.35.0/miscutils/
Dchat.c110 #define exitcode bb_got_signal macro
116 exitcode = ERR_IO; in signal_handler()
360 exitcode = ERR_MEM; in chat_main()
367 while (exitcode == ERR_OK in chat_main()
376 exitcode = ERR_IO; in chat_main()
404 for (l = aborts, exitcode = ERR_ABORT; l; l = l->link, ++exitcode) { in chat_main()
410 exitcode = ERR_OK; in chat_main()
420 exitcode = ERR_TIMEOUT; in chat_main()
426 if (!exitcode) { in chat_main()
436 if (ERR_IO != exitcode) in chat_main()
[all …]
/busybox-1.35.0/coreutils/
Dnl.c61 int exitcode; in nl_main() local
77 exitcode = EXIT_SUCCESS; in nl_main()
79 exitcode |= print_numbered_lines(&ns, *argv); in nl_main()
82 fflush_stdout_and_exit(exitcode); in nl_main()
Dcat.c198 int exitcode; in cat_main() local
207 exitcode = EXIT_SUCCESS; in cat_main()
209 exitcode |= print_numbered_lines(&ns, *argv); in cat_main()
211 fflush_stdout_and_exit(exitcode); in cat_main()
Dfold.c80 smallint exitcode = EXIT_SUCCESS; in fold_main() local
113 exitcode = EXIT_FAILURE; in fold_main()
181 exitcode = EXIT_FAILURE; in fold_main()
185 fflush_stdout_and_exit(exitcode); in fold_main()
/busybox-1.35.0/shell/ash_test/ash-misc/
Dexitcode_trap1.tests1 # "exit" in trap should not use last command's exitcode,
2 # but exitcode on entering the trap.
Dexitcode_trap2.tests1 # "exit" in trap should not use last command's exitcode,
2 # but exitcode on entering the trap.
Dexitcode_trap3.tests1 # "return" in trap should not use last command's exitcode,
2 # but exitcode on entering the trap.
Dexitcode_trap6.tests1 # "exit" in trap should not use last command's exitcode,
2 # but exitcode on entering the trap.
Dcontinue3.tests1 # Test that "continue" does affect exitcode (sets to 0)
Dwait6.tests1 # In bash, "wait $!" extracts correct exitcode even if bg task has already exited
/busybox-1.35.0/shell/hush_test/hush-misc/
Dexitcode_trap2.tests1 # "exit" in trap should not use last command's exitcode,
2 # but exitcode on entering the trap.
Dexitcode_trap3.tests1 # "return" in trap should not use last command's exitcode,
2 # but exitcode on entering the trap.
Dexitcode_trap6.tests1 # "exit" in trap should not use last command's exitcode,
2 # but exitcode on entering the trap.
Dcontinue3.tests1 # Test that "continue" does affect exitcode (sets to 0)
Dwait6.tests1 # In bash, "wait $!" extracts correct exitcode even if bg task has already exited
/busybox-1.35.0/shell/hush_test/hush-psubst/
Dfalsetick.tests1 # Exitcode 0 (`` has no exitcode, but assignment has):
6 # Exitcode 2 (`cmd` expansion sets exitcode after assignment set it to 0):
11 # Exitcode 1 (redirect sets exitcode to 1 on error after them):
/busybox-1.35.0/shell/ash_test/ash-psubst/
Dfalsetick.tests1 # Exitcode 0 (`` has no exitcode, but assignment has):
6 # Exitcode 2 (`cmd` expansion sets exitcode after assignment set it to 0):
11 # Exitcode 1 (redirect sets exitcode to 1 on error after them):
/busybox-1.35.0/networking/
Dslattach.c64 static void restore_state_and_exit(int exitcode) NORETURN;
65 static void restore_state_and_exit(int exitcode) in restore_state_and_exit() argument
71 exitcode = 1; in restore_state_and_exit()
78 exitcode |= tcsetattr_serial_or_warn(&state); in restore_state_and_exit()
88 exit(exitcode); in restore_state_and_exit()
/busybox-1.35.0/shell/hush_test/hush-read/
Dread_SIGCHLD.right2 exitcode:0
Dread_SIGCHLD.tests3 echo "exitcode:$?"
/busybox-1.35.0/shell/ash_test/ash-read/
Dread_SIGCHLD.right2 exitcode:0
Dread_SIGCHLD.tests3 echo "exitcode:$?"
/busybox-1.35.0/shell/ash_test/ash-getopts/
Dgetopt_positional.tests7 # unfortunately, "rc:0" is shown since while's overall exitcode is "success"
/busybox-1.35.0/scripts/
Dtrylink55 exitcode=$?
57 return $exitcode
70 exitcode=$?
72 return $exitcode
/busybox-1.35.0/archival/
Dbbunzip.c49 smallint exitcode = 0; in bbunpack() local
67 exitcode = 1; in bbunpack()
128 exitcode = 1; in bbunpack()
192 return exitcode; in bbunpack()

12