aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGravatar Denis Vlasenko <vda.linux@googlemail.com>2008-02-12 17:12:28 +0000
committerGravatar Denis Vlasenko <vda.linux@googlemail.com>2008-02-12 17:12:28 +0000
commita68cb75a2e72303ef4a609cab28d25ccc789d685 (patch)
treec9f1fd8ef0c1d50341c4377ce467c94ec6944881 /include
parent0b18cd3d04b17acec73af3d2cafd00c59a3f807f (diff)
downloadbusybox-a68cb75a2e72303ef4a609cab28d25ccc789d685.tar.gz
busybox-a68cb75a2e72303ef4a609cab28d25ccc789d685.tar.bz2
Applied post 1.9.0 fixes
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h8
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 {
void re_exec(char **argv) ATTRIBUTE_NORETURN;
void forkexit_or_rexec(char **argv);
extern bool re_execed;
+ int BUG_fork_is_unavailable_on_nommu(void);
+ int BUG_daemon_is_unavailable_on_nommu(void);
+ void BUG_bb_daemonize_is_unavailable_on_nommu(void);
# define fork() BUG_fork_is_unavailable_on_nommu()
# define daemon(a,b) BUG_daemon_is_unavailable_on_nommu()
# define bb_daemonize(a) BUG_bb_daemonize_is_unavailable_on_nommu()
@@ -950,10 +953,9 @@ enum {
};
line_input_t *new_line_input_t(int flags);
/* Returns:
- * -1 on read errors or EOF, or on bare Ctrl-D.
- * 0 on ctrl-C,
+ * -1 on read errors or EOF, or on bare Ctrl-D,
+ * 0 on ctrl-C (the line entered is still returned in 'command'),
* >0 length of input string, including terminating '\n'
- * [is this true? stores "" in 'command' if return value is 0 or -1]
*/
int read_line_input(const char* prompt, char* command, int maxsize, line_input_t *state);
#else