Changeset ce04ea44 in mainline for uspace/app/taskdump/symtab.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
Children:
d4067a7
Parents:
163fc09
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/taskdump/symtab.c

    r163fc09 rce04ea44  
    8888        }
    8989
    90         rc = read(fd, &pos, &elf_hdr, sizeof(elf_header_t));
     90        rc = vfs_read(fd, &pos, &elf_hdr, sizeof(elf_header_t));
    9191        if (rc != sizeof(elf_header_t)) {
    9292                printf("failed reading elf header\n");
     
    306306        aoff64_t pos = elf_hdr->e_shoff + idx * sizeof(elf_section_header_t);
    307307
    308         rc = read(fd, &pos, sec_hdr, sizeof(elf_section_header_t));
     308        rc = vfs_read(fd, &pos, sec_hdr, sizeof(elf_section_header_t));
    309309        if (rc != sizeof(elf_section_header_t))
    310310                return EIO;
     
    335335        }
    336336
    337         rc = read(fd, &pos, *ptr, size);
     337        rc = vfs_read(fd, &pos, *ptr, size);
    338338        if (rc != (ssize_t) size) {
    339339                printf("failed reading chunk\n");
Note: See TracChangeset for help on using the changeset viewer.