Changeset 87822ce in mainline for uspace/app/netecho/netecho.c
- Timestamp:
- 2021-03-04T19:14:30Z (4 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d6c4d40
- Parents:
- 760a392
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/netecho/netecho.c
r760a392 r87822ce 121 121 { 122 122 cons_event_t ev; 123 errno_t rc; 123 124 124 125 printf("Communication started. Press Ctrl-Q to quit.\n"); … … 128 129 done = false; 129 130 while (!done) { 130 console_get_event(con, &ev); 131 rc = console_get_event(con, &ev); 132 if (rc != EOK) 133 break; 134 131 135 if (ev.type == CEV_KEY && ev.ev.key.type == KEY_PRESS) 132 136 key_handle(&ev.ev.key);
Note:
See TracChangeset
for help on using the changeset viewer.