diff options
author | Paul Fox <pgf@brightstareng.com> | 2005-08-09 19:38:05 +0000 |
---|---|---|
committer | Paul Fox <pgf@brightstareng.com> | 2005-08-09 19:38:05 +0000 |
commit | 0b62158475ecbfce16fb857042ec7f402d7594ec (patch) | |
tree | d5f722c5d16a204996e46c84e8fe7923f8f40abf /include | |
parent | 3f11b1bf634536cb01d9913d1a3d10da5bf24541 (diff) | |
download | busybox-0b62158475ecbfce16fb857042ec7f402d7594ec.tar.gz |
implemented a builtin echo command in ash. moved the guts of the
echo applet into libbb, and now call bb_echo() from both echo.c
and ash.c
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h index a544465fe..d12860ca9 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -105,6 +105,8 @@ extern void bb_perror_nomsg(void); extern void bb_verror_msg(const char *s, va_list p) __attribute__ ((format (printf, 1, 0))); extern void bb_vperror_msg(const char *s, va_list p) __attribute__ ((format (printf, 1, 0))); +extern int bb_echo(int argc, char** argv); + extern const char *bb_mode_string(int mode); extern int is_directory(const char *name, int followLinks, struct stat *statBuf); |