Changeset ce04ea44 in mainline for uspace/app/tester/vfs/vfs1.c


Ignore:
Timestamp:
2017-04-02T12:27:14Z (7 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d4067a7
Parents:
163fc09
Message:

Rename read() to vfs_read() and write() to vfs_write()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/tester/vfs/vfs1.c

    r163fc09 rce04ea44  
    8585       
    8686        size_t size = sizeof(text);
    87         ssize_t cnt = write(fd0, &pos, text, size);
     87        ssize_t cnt = vfs_write(fd0, &pos, text, size);
    8888        if (cnt < 0)
    8989                return "write() failed";
     
    9494        char buf[BUF_SIZE];
    9595        TPRINTF("read..\n");
    96         while ((cnt = read(fd0, &pos, buf, BUF_SIZE))) {
     96        while ((cnt = vfs_read(fd0, &pos, buf, BUF_SIZE))) {
    9797                TPRINTF("read returns %zd\n", cnt);
    9898                if (cnt < 0)
Note: See TracChangeset for help on using the changeset viewer.