Changeset 27611 for trunk/Ohana/src/opihi/lib.shell/interrupt.c
- Timestamp:
- Apr 5, 2010, 3:47:36 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/lib.shell/interrupt.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/lib.shell/interrupt.c
r14284 r27611 27 27 while (1) { 28 28 gprint (GP_ERR, "operation halted, continue? (y/n) "); 29 fscanf (stdin, "%s", string);29 if (fscanf (stdin, "%s", string) != 1) fprintf (stderr, "what?\n"); 30 30 31 31 if ((string[0] == 'y') || (string[0] == 'Y')) {
Note:
See TracChangeset
for help on using the changeset viewer.
