mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-08 22:30:07 +00:00
posix: Add p{readv,writev}2 flags to generic uio-ext.h
* bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New defines.
This commit is contained in:
parent
3381be5cde
commit
71d85045fd
@ -1,3 +1,8 @@
|
||||
2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
|
||||
|
||||
* bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
|
||||
defines.
|
||||
|
||||
2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
|
||||
|
||||
[BZ #22159]
|
||||
|
@ -23,6 +23,10 @@
|
||||
# error "Never include <bits/uio-ext.h> directly; use <sys/uio.h> instead."
|
||||
#endif
|
||||
|
||||
/* This operating system does not extend sys/uio.h. */
|
||||
/* Flags for preadv2/pwritev2. */
|
||||
#define RWF_HIPRI 0x00000001 /* High priority request. */
|
||||
#define RWF_DSYNC 0x00000002 /* per-IO O_DSYNC. */
|
||||
#define RWF_SYNC 0x00000004 /* per-IO O_SYNC. */
|
||||
#define RWF_NOWAIT 0x00000008 /* per-IO nonblocking mode. */
|
||||
|
||||
#endif /* sys/uio_ext.h */
|
||||
|
@ -41,8 +41,7 @@ extern ssize_t process_vm_writev (pid_t __pid, const struct iovec *__lvec,
|
||||
unsigned long int __flags)
|
||||
__THROW;
|
||||
|
||||
|
||||
/* Flags for preadv2/pwritev2: */
|
||||
/* Flags for preadv2/pwritev2. */
|
||||
#define RWF_HIPRI 0x00000001 /* High priority request. */
|
||||
#define RWF_DSYNC 0x00000002 /* per-IO O_DSYNC. */
|
||||
#define RWF_SYNC 0x00000004 /* per-IO O_SYNC. */
|
||||
|
Loading…
Reference in New Issue
Block a user