From 664cf58ee8fb9cfce1a4fcf93af350c28f308956 Mon Sep 17 00:00:00 2001 From: Necip Fazil Yildiran Date: Fri, 24 Jul 2020 08:01:38 +0000 Subject: sys/linux: added descs for preadv2, pwritev2 --- sys/linux/sys.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sys/linux/sys.txt') 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 -- cgit mrf-deployment