From 43b09a9865760ec7ae7fcd0ef75842f3a201d5a7 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 27 Nov 2014 13:37:04 +0100 Subject: shell: Make mv, cp and rm usable for applications close #2030 --- cpukit/libmisc/shell/shell.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'cpukit/libmisc/shell/shell.h') diff --git a/cpukit/libmisc/shell/shell.h b/cpukit/libmisc/shell/shell.h index 657df777e5..ea8532d332 100644 --- a/cpukit/libmisc/shell/shell.h +++ b/cpukit/libmisc/shell/shell.h @@ -324,6 +324,13 @@ extern rtems_status_code rtems_shell_wait_for_input( extern int rtems_shell_main_monitor(int argc, char **argv); +/* + * Provide these commands for application use, as their implementation + * is tedious. + */ +int rtems_shell_main_mv(int argc, char *argv[]); +int rtems_shell_main_cp(int argc, char *argv[]); +int rtems_shell_main_rm(int argc, char *argv[]); #ifdef __cplusplus } -- cgit v1.2.3