Changeset ce04ea44 in mainline for uspace/app/tester/vfs/vfs1.c
- Timestamp:
- 2017-04-02T12:27:14Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d4067a7
- Parents:
- 163fc09
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tester/vfs/vfs1.c
r163fc09 rce04ea44 85 85 86 86 size_t size = sizeof(text); 87 ssize_t cnt = write(fd0, &pos, text, size);87 ssize_t cnt = vfs_write(fd0, &pos, text, size); 88 88 if (cnt < 0) 89 89 return "write() failed"; … … 94 94 char buf[BUF_SIZE]; 95 95 TPRINTF("read..\n"); 96 while ((cnt = read(fd0, &pos, buf, BUF_SIZE))) {96 while ((cnt = vfs_read(fd0, &pos, buf, BUF_SIZE))) { 97 97 TPRINTF("read returns %zd\n", cnt); 98 98 if (cnt < 0)
Note:
See TracChangeset
for help on using the changeset viewer.