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
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user