diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-05-03 12:49:10 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-05-03 12:49:10 +0000 |
commit | 7145fac593684e0df4113ff20c4436a6e5ae467b (patch) | |
tree | 0b3bb7c867bf9391e1f78ca1a06834236a0c252e /libc/sysdeps/linux/arm/bits | |
parent | 8b6643eeb2b42676b295575d0caa59300fefd3ad (diff) |
- implement splice,vmsplice,tee for all arches
- synch F_LINUX_SPECIFIC_BASE related fcntls for all arches
Diffstat (limited to 'libc/sysdeps/linux/arm/bits')
-rw-r--r-- | libc/sysdeps/linux/arm/bits/fcntl.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/arm/bits/fcntl.h b/libc/sysdeps/linux/arm/bits/fcntl.h index ad05b533f..3ea24c593 100644 --- a/libc/sysdeps/linux/arm/bits/fcntl.h +++ b/libc/sysdeps/linux/arm/bits/fcntl.h @@ -50,7 +50,9 @@ # define O_NOFOLLOW 0100000 /* Do not follow links. */ # define O_DIRECT 0200000 /* Direct disk access. */ # define O_NOATIME 01000000 /* Do not set atime. */ +# if 0 # define O_CLOEXEC 02000000 /* Set close_on_exec. */ +# endif #endif /* For now Linux has synchronisity options for data and read operations. @@ -99,7 +101,7 @@ # define F_GETLEASE 1025 /* Enquire what lease is active. */ # define F_NOTIFY 1026 /* Request notfications on a directory. */ # define F_DUPFD_CLOEXEC 1030 /* Duplicate file descriptor with - close-on-exit set. */ + close-on-exit set on new fd. */ #endif /* For F_[GET|SET]FD. */ @@ -188,6 +190,7 @@ 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 @@ -198,6 +201,7 @@ 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. */ @@ -235,6 +239,5 @@ extern ssize_t splice (int __fdin, __off64_t *__offin, int __fdout, extern ssize_t tee (int __fdin, int __fdout, size_t __len, unsigned int __flags); -#endif - __END_DECLS + |