Declare vmsplice.
authorUlrich Drepper <drepper@redhat.com>
Wed, 26 Apr 2006 22:28:15 +0000 (22:28 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 26 Apr 2006 22:28:15 +0000 (22:28 +0000)
sysdeps/unix/sysv/linux/alpha/bits/fcntl.h

index 6898fe8..4a20f1d 100644 (file)
 # error "Never use <bits/fcntl.h> directly; include <fcntl.h> instead."
 #endif
 
-
 #include <sys/types.h>
+#ifdef __USE_GNU
+# include <bits/uio.h>
+#endif
 
 
 /* open/fcntl - O_SYNC is only implemented on blocks devices and on files
@@ -200,6 +202,10 @@ extern int sync_file_range (int __fd, __off64_t __from, __off64_t __to,
                            unsigned int __flags);
 
 
+/* Splice address range into a pipe.  */
+extern int vmsplice (int __fdout, const struct iovec *__iov, size_t __count,
+                    unsigned int __flags);
+
 /* Splice two files together.  */
 extern int splice (int __fdin, int __fdout, size_t __len, unsigned int __flags)
     __THROW;