Changeset 25a179e in mainline for uspace/lib/c/generic/io
- Timestamp:
- 2017-12-20T19:51:45Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f96b6c8
- Parents:
- d4a829e
- Location:
- uspace/lib/c/generic/io
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/io/chardev.c
rd4a829e r25a179e 114 114 } 115 115 116 sysarg_t retval;116 int retval; 117 117 async_wait_for(req, &retval); 118 118 … … 166 166 } 167 167 168 sysarg_t retval;168 int retval; 169 169 async_wait_for(req, &retval); 170 170 if (retval != EOK) { -
uspace/lib/c/generic/io/console.c
rd4a829e r25a179e 188 188 async_exchange_end(exch); 189 189 190 sysarg_t rc;190 int rc; 191 191 async_wait_for(aid, &rc); 192 192 … … 202 202 } 203 203 } else { 204 sysarg_t retval;204 int retval; 205 205 async_wait_for(ctrl->input_aid, &retval); 206 206 … … 208 208 209 209 if (retval != EOK) { 210 errno = (int)retval;210 errno = retval; 211 211 return false; 212 212 } … … 235 235 } 236 236 237 sysarg_t retval;237 int retval; 238 238 int rc = async_wait_timeout(ctrl->input_aid, &retval, *timeout); 239 239 if (rc != EOK) { … … 246 246 247 247 if (retval != EOK) { 248 errno = (int)retval;248 errno = retval; 249 249 return false; 250 250 } -
uspace/lib/c/generic/io/log.c
rd4a829e r25a179e 89 89 log, level, NULL); 90 90 int rc = async_data_write_start(exchange, message, str_size(message)); 91 sysarg_t reg_msg_rc;91 int reg_msg_rc; 92 92 async_wait_for(reg_msg, ®_msg_rc); 93 93 … … 199 199 parent, &answer); 200 200 int rc = async_data_write_start(exchange, name, str_size(name)); 201 sysarg_t reg_msg_rc;201 int reg_msg_rc; 202 202 async_wait_for(reg_msg, ®_msg_rc); 203 203 -
uspace/lib/c/generic/io/logctl.c
rd4a829e r25a179e 111 111 new_level, NULL); 112 112 rc = async_data_write_start(exchange, logname, str_size(logname)); 113 sysarg_t reg_msg_rc;113 int reg_msg_rc; 114 114 async_wait_for(reg_msg, ®_msg_rc); 115 115 … … 137 137 rc = vfs_pass_handle(vfs_exch, vfs_root(), exchange); 138 138 vfs_exchange_end(vfs_exch); 139 sysarg_t reg_msg_rc;139 int reg_msg_rc; 140 140 async_wait_for(reg_msg, ®_msg_rc); 141 141 -
uspace/lib/c/generic/io/output.c
rd4a829e r25a179e 94 94 async_exchange_end(exch); 95 95 96 sysarg_t ret;96 int ret; 97 97 async_wait_for(req, &ret); 98 98 -
uspace/lib/c/generic/io/visualizer.c
rd4a829e r25a179e 68 68 async_exchange_end(exch); 69 69 70 sysarg_t ret;70 int ret; 71 71 async_wait_for(req, &ret); 72 72 … … 91 91 async_exchange_end(exch); 92 92 93 sysarg_t ret;93 int ret; 94 94 async_wait_for(req, &ret); 95 95 … … 114 114 async_exchange_end(exch); 115 115 116 sysarg_t ret;116 int ret; 117 117 async_wait_for(req, &ret); 118 118 … … 137 137 async_exchange_end(exch); 138 138 139 sysarg_t ret;139 int ret; 140 140 async_wait_for(req, &ret); 141 141 … … 160 160 async_exchange_end(exch); 161 161 162 sysarg_t ret;162 int ret; 163 163 async_wait_for(req, &ret); 164 164 -
uspace/lib/c/generic/io/window.c
rd4a829e r25a179e 61 61 async_exchange_end(exch); 62 62 63 sysarg_t ret;63 int ret; 64 64 async_wait_for(req, &ret); 65 65 … … 105 105 async_exchange_end(exch); 106 106 107 sysarg_t ret;107 int ret; 108 108 async_wait_for(req, &ret); 109 109
Note:
See TracChangeset
for help on using the changeset viewer.
