diff options
author | Rich Felker <dalias@aerifal.cx> | 2024-01-25 12:02:34 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2024-01-25 12:02:34 -0500 |
commit | 81cced6ebeb4419a78a8892ec7d7e28f5582d24a (patch) | |
tree | 03afb3bafc8b7262e5e05dd71a6254b5ef27c5ca /include | |
parent | f247462b0831cbf163e976ee9a909748c674b88b (diff) | |
download | musl-81cced6ebeb4419a78a8892ec7d7e28f5582d24a.tar.gz musl-81cced6ebeb4419a78a8892ec7d7e28f5582d24a.tar.xz musl-81cced6ebeb4419a78a8892ec7d7e28f5582d24a.zip |
add preadv2 and pwritev2 syscall wrappers, flag value macros
Diffstat (limited to 'include')
-rw-r--r-- | include/sys/uio.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/sys/uio.h b/include/sys/uio.h index 90e5939e..8b5e3de7 100644 --- a/include/sys/uio.h +++ b/include/sys/uio.h @@ -39,6 +39,13 @@ ssize_t pwritev (int, const struct iovec *, int, off_t); #ifdef _GNU_SOURCE ssize_t process_vm_writev(pid_t, const struct iovec *, unsigned long, const struct iovec *, unsigned long, unsigned long); ssize_t process_vm_readv(pid_t, const struct iovec *, unsigned long, const struct iovec *, unsigned long, unsigned long); +ssize_t preadv2 (int, const struct iovec *, int, off_t, int); +ssize_t pwritev2 (int, const struct iovec *, int, off_t, int); +#define RWF_HIPRI 0x00000001 +#define RWF_DSYNC 0x00000002 +#define RWF_SYNC 0x00000004 +#define RWF_NOWAIT 0x00000008 +#define RWF_APPEND 0x00000010 #endif #ifdef __cplusplus |