aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux
diff options
context:
space:
mode:
authorNecip Fazil Yildiran <necip@google.com>2020-07-24 10:47:19 +0000
committerDmitry Vyukov <dvyukov@google.com>2020-07-24 13:20:16 +0200
commit83892305a53be0b3d5a1352d5329989265a5ba0b (patch)
treea3820bef0c4881444abef8d886249dbd9cc2b8ee /sys/linux
parent664cf58ee8fb9cfce1a4fcf93af350c28f308956 (diff)
sys/linux: fixed p{read,write}{v,v2} descriptions
The raw system calls have call signatures that differ slightly from that of the corresponding GNU C library wrapper functions. The descriptions are fixed to reflect the raw system calls, which unpacks the offset into two args, off_l and off_h.
Diffstat (limited to 'sys/linux')
-rw-r--r--sys/linux/sys.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/linux/sys.txt b/sys/linux/sys.txt
index a1446df10..d4a027fd9 100644
--- a/sys/linux/sys.txt
+++ b/sys/linux/sys.txt
@@ -88,13 +88,13 @@ close(fd fd)
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])
+preadv(fd fd, vec ptr[in, array[iovec_out]], vlen len[vec], off_low int32, off_high int32)
+preadv2(fd fd, vec ptr[in, array[iovec_out]], vlen len[vec], off_low int32, off_high int32, 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])
+pwritev(fd fd, vec ptr[in, array[iovec_in]], vlen len[vec], off_low int32, off_high int32)
+pwritev2(fd fd, vec ptr[in, array[iovec_in]], vlen len[vec], off_low int32, off_high int32, 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