diff options
| author | Necip Fazil Yildiran <necip@google.com> | 2020-07-24 08:01:38 +0000 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-07-24 13:20:16 +0200 |
| commit | 664cf58ee8fb9cfce1a4fcf93af350c28f308956 (patch) | |
| tree | b198999f34c5a1d7365e0e3644ca0d9ae392af29 /sys/linux/sys.txt | |
| parent | 554af3885f0e7b30088641cc6e372559d3251ce2 (diff) | |
sys/linux: added descs for preadv2, pwritev2
Diffstat (limited to 'sys/linux/sys.txt')
| -rw-r--r-- | sys/linux/sys.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/linux/sys.txt b/sys/linux/sys.txt index 0589dc232..a1446df10 100644 --- a/sys/linux/sys.txt +++ b/sys/linux/sys.txt @@ -89,12 +89,16 @@ read(fd fd, buf buffer[out], count len[buf]) pread64(fd fd, buf buffer[out], count len[buf], pos fileoff) readv(fd fd, vec ptr[in, array[iovec_out]], vlen len[vec]) preadv(fd fd, vec ptr[in, array[iovec_out]], vlen len[vec], off fileoff) +preadv2(fd fd, vec ptr[in, array[iovec_out]], vlen len[vec], off fileoff, flags flags[rwf_flags]) write(fd fd, buf buffer[in], count len[buf]) pwrite64(fd fd, buf buffer[in], count len[buf], pos fileoff) writev(fd fd, vec ptr[in, array[iovec_in]], vlen len[vec]) pwritev(fd fd, vec ptr[in, array[iovec_in]], vlen len[vec], off fileoff) +pwritev2(fd fd, vec ptr[in, array[iovec_in]], vlen len[vec], off fileoff, flags flags[rwf_flags]) lseek(fd fd, offset fileoff, whence flags[seek_whence]) +rwf_flags = RWF_DSYNC, RWF_HIPRI, RWF_SYNC, RWF_NOWAIT, RWF_APPEND + dup(oldfd fd) fd dup2(oldfd fd, newfd fd) fd dup3(oldfd fd, newfd fd, flags flags[dup_flags]) fd |
