Changeset ab936440 in mainline for uspace/lib/c/generic/io/chardev_srv.c
- Timestamp:
- 2019-02-12T20:42:42Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f31ca47
- Parents:
- 7f7817a9 (diff), 4805495 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- Matthieu Riolo <matthieu.riolo@…> (2019-02-12 20:26:18)
- git-committer:
- Matthieu Riolo <matthieu.riolo@…> (2019-02-12 20:42:42)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/io/chardev_srv.c
r7f7817a9 rab936440 48 48 size_t size; 49 49 size_t nread; 50 chardev_flags_t flags; 50 51 errno_t rc; 52 53 flags = IPC_GET_ARG1(*icall); 51 54 52 55 ipc_call_t call; … … 70 73 } 71 74 72 rc = srv->srvs->ops->read(srv, buf, size, &nread );75 rc = srv->srvs->ops->read(srv, buf, size, &nread, flags); 73 76 if (rc != EOK && nread == 0) { 74 77 async_answer_0(&call, rc);
Note:
See TracChangeset
for help on using the changeset viewer.