summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/arm/bits/fcntl.h
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-09-16 14:02:54 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-09-16 14:02:54 +0000
commit5c742ff1a53e556b8f6ad4c3ea89d67380c22adf (patch)
tree65853ccedf6554846f999caa818adf847a010cbb /libc/sysdeps/linux/arm/bits/fcntl.h
parentc14e3c99f7cd9e2721edf69e103d1649a88b6b88 (diff)
- add sync_file_range()
Tested successfully on i386..
Diffstat (limited to 'libc/sysdeps/linux/arm/bits/fcntl.h')
-rw-r--r--libc/sysdeps/linux/arm/bits/fcntl.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/arm/bits/fcntl.h b/libc/sysdeps/linux/arm/bits/fcntl.h
index f566fe4f8..01d2d3d14 100644
--- a/libc/sysdeps/linux/arm/bits/fcntl.h
+++ b/libc/sysdeps/linux/arm/bits/fcntl.h
@@ -190,7 +190,6 @@ struct flock64
#ifdef __USE_GNU
-#if 0
/* Flags for SYNC_FILE_RANGE. */
# define SYNC_FILE_RANGE_WAIT_BEFORE 1 /* Wait upon writeout of all pages
in the range before performing the
@@ -201,7 +200,6 @@ struct flock64
# define SYNC_FILE_RANGE_WAIT_AFTER 4 /* Wait upon writeout of all pages in
the range after performing the
write. */
-#endif
/* Flags for SPLICE and VMSPLICE. */
# define SPLICE_F_MOVE 1 /* Move pages instead of copying. */
@@ -220,11 +218,9 @@ __BEGIN_DECLS
extern ssize_t readahead (int __fd, __off64_t __offset, size_t __count)
__THROW;
-#if 0
/* Selective file content synch'ing. */
extern int sync_file_range (int __fd, __off64_t __from, __off64_t __to,
unsigned int __flags);
-#endif
/* Splice address range into a pipe. */
extern ssize_t vmsplice (int __fdout, const struct iovec *__iov,