Changeset 8be2833 in mainline for uspace/lib/libc/generic/io/console.c
- Timestamp:
- 2009-09-10T21:36:21Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 262cd01
- Parents:
- 9b11daef
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/generic/io/console.c
r9b11daef r8be2833 45 45 } 46 46 47 int console_get_size(int phone, i pcarg_t *cols, ipcarg_t *rows)47 int console_get_size(int phone, int *cols, int *rows) 48 48 { 49 return async_req_0_2(phone, CONSOLE_GET_SIZE, cols, rows); 49 ipcarg_t cols_v; 50 ipcarg_t rows_v; 51 int rc; 52 53 rc = async_req_0_2(phone, CONSOLE_GET_SIZE, &cols_v, &rows_v); 54 55 *cols = (int) cols_v; 56 *rows = (int) rows_v; 57 return rc; 50 58 } 51 59 … … 86 94 } 87 95 88 void console_goto(int phone, i pcarg_t col, ipcarg_t row)96 void console_goto(int phone, int col, int row) 89 97 { 90 98 async_msg_2(phone, CONSOLE_GOTO, col, row);
Note:
See TracChangeset
for help on using the changeset viewer.