Changeset 43b09a98 in rtems


Ignore:
Timestamp:
11/27/14 12:37:04 (9 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, master
Children:
3a8566b7
Parents:
0ff1c29
git-author:
Sebastian Huber <sebastian.huber@…> (11/27/14 12:37:04)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/27/14 12:37:52)
Message:

shell: Make mv, cp and rm usable for applications

close #2030

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libmisc/shell/internal.h

    r0ff1c29 r43b09a98  
    4040extern void rtems_shell_print_unified_work_area_message(void);
    4141
    42 extern int rtems_shell_main_rm(int argc, char *argv[]);
    43 extern int rtems_shell_main_cp(int argc, char *argv[]);
    44 
    4542#include <sys/types.h>
    4643
  • cpukit/libmisc/shell/main_mv.c

    r0ff1c29 r43b09a98  
    117117char *group_from_gid(gid_t gid, int nogroup);
    118118
    119 static int
     119int
    120120rtems_shell_main_mv(int argc, char *argv[])
    121121{
  • cpukit/libmisc/shell/shell.h

    r0ff1c29 r43b09a98  
    325325extern int rtems_shell_main_monitor(int argc, char **argv);
    326326
     327/*
     328 * Provide these commands for application use, as their implementation
     329 * is tedious.
     330 */
     331int rtems_shell_main_mv(int argc, char *argv[]);
     332int rtems_shell_main_cp(int argc, char *argv[]);
     333int rtems_shell_main_rm(int argc, char *argv[]);
    327334
    328335#ifdef __cplusplus
  • doc/shell/file.t

    r0ff1c29 r43b09a98  
    696696@subheading PROGRAMMING INFORMATION:
    697697
    698 @findex rtems_shell_rtems_main_cp
     698@findex rtems_shell_main_cp
    699699
    700700The @code{cp} command is implemented by a C language function which
     
    702702
    703703@example
    704 int rtems_shell_rtems_main_cp(
     704int rtems_shell_main_cp(
    705705  int    argc,
    706706  char **argv
     
    24612461@subheading PROGRAMMING INFORMATION:
    24622462
    2463 @findex rtems_shell_rtems_main_mv
     2463@findex rtems_shell_main_mv
    24642464
    24652465The @code{mv} command is implemented by a C language function which
     
    24672467
    24682468@example
    2469 int rtems_shell_rtems_main_mv(
     2469int rtems_shell_main_mv(
    24702470  int    argc,
    24712471  char **argv
     
    26982698@subheading PROGRAMMING INFORMATION:
    26992699
    2700 @findex rtems_shell_rtems_main_rm
     2700@findex rtems_shell_main_rm
    27012701
    27022702The @code{rm} is implemented by a C language function
     
    27042704
    27052705@example
    2706 int rtems_shell_rtems_main_rm(
     2706int rtems_shell_main_rm(
    27072707  int    argc,
    27082708  char **argv
Note: See TracChangeset for help on using the changeset viewer.