mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 18:37:34 +00:00
LibC: Add pwrite(..) implementation to match the existing pread(..)
Add a basic non-thread safe implementation of pwrite, following the existing pread(..) design. This is needed for https://fio.readthedocs.io
This commit is contained in:
parent
56ba3e1cbd
commit
14f6425b8f
2 changed files with 21 additions and 10 deletions
|
@ -101,6 +101,7 @@ int tcsetpgrp(int fd, pid_t pgid);
|
|||
ssize_t read(int fd, void* buf, size_t count);
|
||||
ssize_t pread(int fd, void* buf, size_t count, off_t);
|
||||
ssize_t write(int fd, const void* buf, size_t count);
|
||||
ssize_t pwrite(int fd, const void* buf, size_t count, off_t);
|
||||
int close(int fd);
|
||||
int chdir(const char* path);
|
||||
int fchdir(int fd);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue