Ignore:
Timestamp:
2019-01-04T21:22:17Z (5 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
af7b85b
Parents:
06412ba
Message:

Add forgotten changes to enable non-blocking chardev read

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/io/chardev_srv.c

    r06412ba rf2d88f3  
    4848        size_t size;
    4949        size_t nread;
     50        chardev_flags_t flags;
    5051        errno_t rc;
     52
     53        flags = IPC_GET_ARG1(*icall);
    5154
    5255        ipc_call_t call;
     
    7073        }
    7174
    72         rc = srv->srvs->ops->read(srv, buf, size, &nread);
     75        rc = srv->srvs->ops->read(srv, buf, size, &nread, flags);
    7376        if (rc != EOK && nread == 0) {
    7477                async_answer_0(&call, rc);
Note: See TracChangeset for help on using the changeset viewer.