diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/libbb.h b/include/libbb.h index 2b928215f..8f6643767 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -641,6 +641,9 @@ enum { | |||
641 | void re_exec(char **argv) ATTRIBUTE_NORETURN; | 641 | void re_exec(char **argv) ATTRIBUTE_NORETURN; |
642 | void forkexit_or_rexec(char **argv); | 642 | void forkexit_or_rexec(char **argv); |
643 | extern bool re_execed; | 643 | extern bool re_execed; |
644 | int BUG_fork_is_unavailable_on_nommu(void); | ||
645 | int BUG_daemon_is_unavailable_on_nommu(void); | ||
646 | void BUG_bb_daemonize_is_unavailable_on_nommu(void); | ||
644 | # define fork() BUG_fork_is_unavailable_on_nommu() | 647 | # define fork() BUG_fork_is_unavailable_on_nommu() |
645 | # define daemon(a,b) BUG_daemon_is_unavailable_on_nommu() | 648 | # define daemon(a,b) BUG_daemon_is_unavailable_on_nommu() |
646 | # define bb_daemonize(a) BUG_bb_daemonize_is_unavailable_on_nommu() | 649 | # define bb_daemonize(a) BUG_bb_daemonize_is_unavailable_on_nommu() |
@@ -950,10 +953,9 @@ enum { | |||
950 | }; | 953 | }; |
951 | line_input_t *new_line_input_t(int flags); | 954 | line_input_t *new_line_input_t(int flags); |
952 | /* Returns: | 955 | /* Returns: |
953 | * -1 on read errors or EOF, or on bare Ctrl-D. | 956 | * -1 on read errors or EOF, or on bare Ctrl-D, |
954 | * 0 on ctrl-C, | 957 | * 0 on ctrl-C (the line entered is still returned in 'command'), |
955 | * >0 length of input string, including terminating '\n' | 958 | * >0 length of input string, including terminating '\n' |
956 | * [is this true? stores "" in 'command' if return value is 0 or -1] | ||
957 | */ | 959 | */ |
958 | int read_line_input(const char* prompt, char* command, int maxsize, line_input_t *state); | 960 | int read_line_input(const char* prompt, char* command, int maxsize, line_input_t *state); |
959 | #else | 961 | #else |