From 83892305a53be0b3d5a1352d5329989265a5ba0b Mon Sep 17 00:00:00 2001 From: Necip Fazil Yildiran Date: Fri, 24 Jul 2020 10:47:19 +0000 Subject: 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. --- sys/linux/sys.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/linux') 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 -- cgit mrf-deployment