aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/applets.h1
-rw-r--r--include/libbb.h1
-rw-r--r--include/usage.h9
3 files changed, 11 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h
index b2e89ee85..d4b6dbeaa 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -305,6 +305,7 @@ USE_RUNLEVEL(APPLET(runlevel, _BB_DIR_SBIN, _BB_SUID_NEVER))
305USE_RUNSV(APPLET(runsv, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) 305USE_RUNSV(APPLET(runsv, _BB_DIR_USR_BIN, _BB_SUID_NEVER))
306USE_RUNSVDIR(APPLET(runsvdir, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) 306USE_RUNSVDIR(APPLET(runsvdir, _BB_DIR_USR_BIN, _BB_SUID_NEVER))
307USE_RX(APPLET(rx, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) 307USE_RX(APPLET(rx, _BB_DIR_USR_BIN, _BB_SUID_NEVER))
308USE_SCRIPT(APPLET(script, _BB_DIR_USR_BIN, _BB_SUID_NEVER))
308USE_SED(APPLET(sed, _BB_DIR_BIN, _BB_SUID_NEVER)) 309USE_SED(APPLET(sed, _BB_DIR_BIN, _BB_SUID_NEVER))
309USE_SELINUXENABLED(APPLET(selinuxenabled, _BB_DIR_USR_SBIN, _BB_SUID_NEVER)) 310USE_SELINUXENABLED(APPLET(selinuxenabled, _BB_DIR_USR_SBIN, _BB_SUID_NEVER))
310USE_SENDMAIL(APPLET_ODDNAME(sendmail, sendgetmail, _BB_DIR_USR_BIN, _BB_SUID_NEVER, sendmail)) 311USE_SENDMAIL(APPLET_ODDNAME(sendmail, sendgetmail, _BB_DIR_USR_BIN, _BB_SUID_NEVER, sendmail))
diff --git a/include/libbb.h b/include/libbb.h
index 978cd2d87..707e8d69b 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -237,6 +237,7 @@ extern int recursive_action(const char *fileName, unsigned flags,
237 int (*dirAction) (const char *fileName, struct stat* statbuf, void* userData, int depth), 237 int (*dirAction) (const char *fileName, struct stat* statbuf, void* userData, int depth),
238 void* userData, unsigned depth); 238 void* userData, unsigned depth);
239extern int device_open(const char *device, int mode); 239extern int device_open(const char *device, int mode);
240extern int getpty(char *line, int size);
240extern int get_console_fd(void); 241extern int get_console_fd(void);
241extern char *find_block_device(const char *path); 242extern char *find_block_device(const char *path);
242/* bb_copyfd_XX print read/write errors and return -1 if they occur */ 243/* bb_copyfd_XX print read/write errors and return -1 if they occur */
diff --git a/include/usage.h b/include/usage.h
index 95cb69c73..4eac17401 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -3234,6 +3234,15 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when
3234#define rx_example_usage \ 3234#define rx_example_usage \
3235 "$ rx /tmp/foo\n" 3235 "$ rx /tmp/foo\n"
3236 3236
3237#define script_trivial_usage \
3238 "[-afq] [-c COMMAND] [OUTFILE]"
3239#define script_full_usage \
3240 "Options:" \
3241 "\n -a Append output" \
3242 "\n -c Run COMMAND, not shell" \
3243 "\n -f Flush output after each write" \
3244 "\n -q Quiet"
3245
3237#define sed_trivial_usage \ 3246#define sed_trivial_usage \
3238 "[-efinr] pattern [files...]" 3247 "[-efinr] pattern [files...]"
3239#define sed_full_usage \ 3248#define sed_full_usage \