forked from Imagelibrary/rtems
@@ -39,9 +39,6 @@ extern void rtems_shell_print_heap_info(
|
||||
|
||||
extern void rtems_shell_print_unified_work_area_message(void);
|
||||
|
||||
extern int rtems_shell_main_rm(int argc, char *argv[]);
|
||||
extern int rtems_shell_main_cp(int argc, char *argv[]);
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
extern void strmode(mode_t mode, char *p);
|
||||
|
||||
@@ -116,7 +116,7 @@ rtems_shell_mv_exit (rtems_shell_mv_globals* globals, int code)
|
||||
const char *user_from_uid(uid_t uid, int nouser);
|
||||
char *group_from_gid(gid_t gid, int nogroup);
|
||||
|
||||
static int
|
||||
int
|
||||
rtems_shell_main_mv(int argc, char *argv[])
|
||||
{
|
||||
rtems_shell_mv_globals mv_globals;
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -695,13 +695,13 @@ shell commands have been configured.
|
||||
|
||||
@subheading PROGRAMMING INFORMATION:
|
||||
|
||||
@findex rtems_shell_rtems_main_cp
|
||||
@findex rtems_shell_main_cp
|
||||
|
||||
The @code{cp} command is implemented by a C language function which
|
||||
has the following prototype:
|
||||
|
||||
@example
|
||||
int rtems_shell_rtems_main_cp(
|
||||
int rtems_shell_main_cp(
|
||||
int argc,
|
||||
char **argv
|
||||
);
|
||||
@@ -2460,13 +2460,13 @@ shell commands have been configured.
|
||||
|
||||
@subheading PROGRAMMING INFORMATION:
|
||||
|
||||
@findex rtems_shell_rtems_main_mv
|
||||
@findex rtems_shell_main_mv
|
||||
|
||||
The @code{mv} command is implemented by a C language function which
|
||||
has the following prototype:
|
||||
|
||||
@example
|
||||
int rtems_shell_rtems_main_mv(
|
||||
int rtems_shell_main_mv(
|
||||
int argc,
|
||||
char **argv
|
||||
);
|
||||
@@ -2697,13 +2697,13 @@ shell commands have been configured.
|
||||
|
||||
@subheading PROGRAMMING INFORMATION:
|
||||
|
||||
@findex rtems_shell_rtems_main_rm
|
||||
@findex rtems_shell_main_rm
|
||||
|
||||
The @code{rm} is implemented by a C language function
|
||||
which has the following prototype:
|
||||
|
||||
@example
|
||||
int rtems_shell_rtems_main_rm(
|
||||
int rtems_shell_main_rm(
|
||||
int argc,
|
||||
char **argv
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user