Changes in uspace/app/bdsh/cmds/modules/cp/cp.c [09ab0a9a:e4c0e0c] in mainline
- File:
-
- 1 edited
-
uspace/app/bdsh/cmds/modules/cp/cp.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/modules/cp/cp.c
r09ab0a9a re4c0e0c 45 45 46 46 #define CP_VERSION "0.0.1" 47 #define CP_DEFAULT_BUFLEN 102447 #define CP_DEFAULT_BUFLEN (1024 * 64) 48 48 49 49 static const char *cmdname = "cp"; … … 146 146 { 147 147 va_list args; 148 errno_t rc; 148 149 149 150 va_start(args, message); … … 154 155 cons_event_t ev; 155 156 console_flush(con); 156 console_get_event(con, &ev); 157 rc = console_get_event(con, &ev); 158 if (rc != EOK) 159 exit(1); 157 160 if (ev.type != CEV_KEY || ev.ev.key.type != KEY_PRESS || 158 161 (ev.ev.key.mods & (KM_CTRL | KM_ALT)) != 0) {
Note:
See TracChangeset
for help on using the changeset viewer.
