Changeset 35d09ba in rtems for cpukit/libmisc/shell/shell.h


Ignore:
Timestamp:
07/22/09 15:17:37 (15 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 5, master
Children:
f379d80
Parents:
e8d59ca
Message:

2009-07-22 Joel Sherrill <joel.sherrill@…>

  • libmisc/Makefile.am, libmisc/shell/main_chmod.c, libmisc/shell/main_mdump.c, libmisc/shell/main_medit.c, libmisc/shell/main_mfill.c, libmisc/shell/main_mmove.c, libmisc/shell/main_msdosfmt.c, libmisc/shell/main_mwdump.c, libmisc/shell/main_sleep.c, libmisc/shell/main_umask.c, libmisc/shell/shell.h, libmisc/shell/shell_script.c, libmisc/stringto/stringto_template.h: Convert all shell code to use stringto.h mehods with better error checking.
  • libmisc/shell/str2int.c: Removed.
File:
1 edited

Legend:

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

    re8d59ca r35d09ba  
    184184);
    185185
    186 /*
    187  *  Things that are useful to external entities developing commands and plugging
    188  *  them in.
    189  */
    190 int rtems_shell_str2int(const char * s);
    191 
     186/**
     187 *  Private environment associated with each shell instance.
     188 */
    192189typedef struct {
    193   rtems_name magic; /* 'S','E','N','V': Shell Environment */
     190  /** 'S','E','N','V': Shell Environment */
     191  rtems_name magic;
    194192  const char *devname;
    195193  const char *taskname;
    196   /* user extensions */
    197194  bool exit_shell; /* logout */
    198195  bool forever; /* repeat login */
    199196  int errorlevel;
    200197  bool echo;
    201   char cwd [256];
     198  char cwd[256];
    202199  const char *input;
    203200  const char *output;
Note: See TracChangeset for help on using the changeset viewer.