From: Ulrich Drepper Date: Wed, 26 Apr 2006 22:28:15 +0000 (+0000) Subject: Declare vmsplice. X-Git-Tag: upstream/2.20~3636^2~875 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a122819861060aebe134b17f45f795b7559c0082;p=platform%2Fupstream%2Flinaro-glibc.git Declare vmsplice. --- diff --git a/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h b/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h index 6898fe8..4a20f1d 100644 --- a/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h +++ b/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h @@ -21,8 +21,10 @@ # error "Never use directly; include instead." #endif - #include +#ifdef __USE_GNU +# include +#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;