Changes in uspace/srv/console/console.c [cc1f8d4:a4885a42] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/console/console.c
rcc1f8d4 ra4885a42 40 40 #include <ipc/services.h> 41 41 #include <errno.h> 42 #include <keybuffer.h> 42 43 #include <ipc/console.h> 43 44 #include <unistd.h> … … 54 55 #include "console.h" 55 56 #include "gcons.h" 56 #include "keybuffer.h"57 57 #include "screenbuffer.h" 58 58 … … 429 429 ipc_callid_t callid; 430 430 size_t size; 431 if (! async_data_write_receive(&callid, &size)) {431 if (!ipc_data_write_receive(&callid, &size)) { 432 432 ipc_answer_0(callid, EINVAL); 433 433 ipc_answer_0(rid, EINVAL); … … 442 442 } 443 443 444 (void) async_data_write_finalize(callid, buf, size);444 (void) ipc_data_write_finalize(callid, buf, size); 445 445 446 446 async_serialize_start(); … … 464 464 ipc_callid_t callid; 465 465 size_t size; 466 if (! async_data_read_receive(&callid, &size)) {466 if (!ipc_data_read_receive(&callid, &size)) { 467 467 ipc_answer_0(callid, EINVAL); 468 468 ipc_answer_0(rid, EINVAL); … … 489 489 490 490 if (pos == size) { 491 (void) async_data_read_finalize(callid, buf, size);491 (void) ipc_data_read_finalize(callid, buf, size); 492 492 ipc_answer_1(rid, EOK, size); 493 493 free(buf); … … 713 713 714 714 if (interbuffer) { 715 if ( async_share_out_start(fb_info.phone, interbuffer,715 if (ipc_share_out_start(fb_info.phone, interbuffer, 716 716 AS_AREA_READ) != EOK) { 717 717 as_area_destroy(interbuffer);
Note:
See TracChangeset
for help on using the changeset viewer.