Changeset 3901 for trunk/Ohana/src/opihi/lib.shell/command.c
- Timestamp:
- May 11, 2005, 9:42:34 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/lib.shell/command.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/lib.shell/command.c
r3187 r3901 1 1 # include "opihi.h" 2 2 # define VERBOSE 0 3 4 static int Ncalls = 0; 3 5 4 6 int command (char *line, char **outline) { … … 7 9 char **argv, **targv; 8 10 Command *cmd; 11 12 Ncalls ++; 9 13 10 14 /* force a space between ! and first word: !ls becomes ! ls */ … … 73 77 74 78 } 79 80 void print_ncals () { 81 fprintf (stderr, "Ncalls command: %d\n", Ncalls); 82 }
Note:
See TracChangeset
for help on using the changeset viewer.
