diff options
author | Ulrich Drepper <drepper@redhat.com> | 2006-05-05 19:09:39 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2006-05-05 19:09:39 +0000 |
commit | 7bfee6547925f3ff3a11c21689b546fb05dd4806 (patch) | |
tree | 32742aec1589136641c13520532af331bc375e48 /sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h | |
parent | 308bb2d557a6394bd260f549cde01d01c7da9b5c (diff) | |
download | glibc-7bfee6547925f3ff3a11c21689b546fb05dd4806.zip glibc-7bfee6547925f3ff3a11c21689b546fb05dd4806.tar.gz glibc-7bfee6547925f3ff3a11c21689b546fb05dd4806.tar.bz2 |
* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define SPLICE_F_*.
* sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
Diffstat (limited to 'sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h')
-rw-r--r-- | sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h b/sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h index ad4c144..771de60 100644 --- a/sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h +++ b/sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h @@ -199,6 +199,7 @@ struct flock64 #ifdef __USE_GNU +/* Flags for SYNC_FILE_RANGE. */ # define SYNC_FILE_RANGE_WAIT_BEFORE 1 /* Wait upon writeout of all pages in the range before performing the write. */ @@ -208,6 +209,14 @@ struct flock64 # define SYNC_FILE_RANGE_WAIT_AFTER 4 /* Wait upon writeout of all pages in the range after performing the write. */ + +/* Flags for SPLICE and VMSPLICE. */ +# define SPLICE_F_MOVE 1 /* Move pages instead of copying. */ +# define SPLICE_F_NONBLOCK 2 /* Don't block on the pipe splicing + (but we may still block on the fd + we splice from/to). */ +# define SPLICE_F_MORE 4 /* Expect more data. */ +# define SPLICE_F_GIFT 8 /* Pages passed in are a gift. */ #endif __BEGIN_DECLS |