Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/tester/chardev/chardev1.c

    r84239b1 rf2d88f3  
    11/*
    2  * Copyright (c) 2017 Jiri Svoboda
     2 * Copyright (c) 2019 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    7676        TPRINTF("Sent %zu bytes\n", nbytes);
    7777
    78         rc = chardev_read(chardev, small_buffer, SMALL_BUFFER_SIZE, &nbytes);
     78        rc = chardev_read(chardev, small_buffer, SMALL_BUFFER_SIZE, &nbytes,
     79            chardev_f_none);
    7980        if (rc != EOK) {
    8081                chardev_close(chardev);
     
    128129        TPRINTF("Sent %zu bytes\n", nbytes);
    129130
    130         rc = chardev_read(chardev, large_buffer, LARGE_BUFFER_SIZE, &nbytes);
     131        rc = chardev_read(chardev, large_buffer, LARGE_BUFFER_SIZE, &nbytes,
     132            chardev_f_none);
    131133        if (rc != EOK) {
    132134                chardev_close(chardev);
     
    181183            str_error_name(rc));
    182184
    183         rc = chardev_read(chardev, small_buffer, SMALL_BUFFER_SIZE, &nbytes);
     185        rc = chardev_read(chardev, small_buffer, SMALL_BUFFER_SIZE, &nbytes,
     186            chardev_f_none);
    184187        if (rc != EIO || nbytes != 1) {
    185188                chardev_close(chardev);
Note: See TracChangeset for help on using the changeset viewer.