29.3 Declaring exit codes ¶
- Variable: mbfl_main_pending_EXIT_CODE ¶
Set by
mbfl_exit()
to the exit code this script is using.NOTE Use of this variable is deprecated; it still exists for backwards compatibility. We should use
mbfl_PENDING_EXIT_CODE
, Exit codes and return codes.
- Function: mbfl_main_is_exiting ¶
Return true if the script is exiting.
NOTE Use of this function is deprecated; it still exists for backwards compatibility. We should use
mbfl_script_is_exiting()
, Facilities to exit a script.
- Function: mbfl_main_declare_exit_code CODE NAME ¶
Declare an exit code with value CODE and identifier NAME.
NOTE Use of this function is deprecated; it still exists for backwards compatibility. We should use
mbfl_declare_exit_code()
, Exit codes and return codes.
- Function: mbfl_main_create_exit_functions ¶
NOTE This function does nothing; it still exists for backwards compatibility. See the facilities described at Exit codes and return codes.
- Function: mbfl_main_print_exit_code NAME ¶
Print the code associated to NAME.
NOTE Use of this function is deprecated; it still exists for backwards compatibility. We should use
mbfl_print_exit_code()
, Exit codes and return codes.