]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
posix: Add p{readv,writev}2 flags to generic uio-ext.h
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 28 Sep 2017 15:41:27 +0000 (08:41 -0700)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 17 Oct 2017 19:52:04 +0000 (17:52 -0200)
* bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
defines.

ChangeLog
bits/uio-ext.h
sysdeps/unix/sysv/linux/bits/uio-ext.h

index 6cb971dfa6afa2219760ae202ebf511035cbe432..ed64155fdf457136f8be2ce662c456f0bb0745d8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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]
index cd4039cb616181f8015caa0f1ae7e57237da20fd..cba75a75632867159fc09cd79fbaf223d8111b14 100644 (file)
 # 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 */
index 751fc4917d9c84d103b89f14c2ad06dd2b586030..f931fd112a7112df7a266f518f4fc4cd2dba62f6 100644 (file)
@@ -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.  */