make xfunctions optionally longjump instead of exit.
use it for making NOFORK more practical. touch: make it a NOFORK applet
This commit is contained in:
parent
cd7001f705
commit
3f3aa2a57d
10 changed files with 39 additions and 24 deletions
|
@ -620,6 +620,7 @@ extern const char *msg_eol;
|
|||
extern smallint logmode;
|
||||
extern int die_sleep;
|
||||
extern int xfunc_error_retval;
|
||||
extern jmp_buf die_jmp;
|
||||
extern void sleep_and_die(void) ATTRIBUTE_NORETURN;
|
||||
extern void bb_show_usage(void) ATTRIBUTE_NORETURN ATTRIBUTE_EXTERNALLY_VISIBLE;
|
||||
extern void bb_error_msg(const char *s, ...) __attribute__ ((format (printf, 1, 2)));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue