diff options
author | Zack Weinberg <zackw@panix.com> | 2017-06-08 15:39:03 -0400 |
---|---|---|
committer | Zack Weinberg <zackw@panix.com> | 2017-06-08 15:39:03 -0400 |
commit | 5046dbb4a7eba5eccfd258f92f4735c9ffc8d069 (patch) | |
tree | 4470480d904b65cf14ca524f96f79eca818c3eaf /REORG.TODO/include/fcntl.h | |
parent | 199fc19d3aaaf57944ef036e15904febe877fc93 (diff) | |
download | glibc-5046dbb4a7eba5eccfd258f92f4735c9ffc8d069.tar.gz glibc-5046dbb4a7eba5eccfd258f92f4735c9ffc8d069.tar.xz glibc-5046dbb4a7eba5eccfd258f92f4735c9ffc8d069.zip |
Prepare for radical source tree reorganization. zack/build-layout-experiment
All top-level files and directories are moved into a temporary storage directory, REORG.TODO, except for files that will certainly still exist in their current form at top level when we're done (COPYING, COPYING.LIB, LICENSES, NEWS, README), all old ChangeLog files (which are moved to the new directory OldChangeLogs, instead), and the generated file INSTALL (which is just deleted; in the new order, there will be no generated files checked into version control).
Diffstat (limited to 'REORG.TODO/include/fcntl.h')
-rw-r--r-- | REORG.TODO/include/fcntl.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/REORG.TODO/include/fcntl.h b/REORG.TODO/include/fcntl.h new file mode 100644 index 0000000000..9a007c358c --- /dev/null +++ b/REORG.TODO/include/fcntl.h @@ -0,0 +1,41 @@ +#ifndef _FCNTL_H +#include <io/fcntl.h> + +#ifndef _ISOMAC +/* Now define the internal interfaces. */ +extern int __open64 (const char *__file, int __oflag, ...); +libc_hidden_proto (__open64) +extern int __libc_open64 (const char *file, int oflag, ...); +extern int __libc_open (const char *file, int oflag, ...); +libc_hidden_proto (__libc_open) +extern int __libc_fcntl (int fd, int cmd, ...) attribute_hidden; +#ifndef NO_CANCELLATION +extern int __fcntl_nocancel (int fd, int cmd, ...) attribute_hidden; +libc_hidden_proto (__libc_fcntl) +#endif +extern int __open (const char *__file, int __oflag, ...); +libc_hidden_proto (__open) +extern int __fcntl (int __fd, int __cmd, ...); +libc_hidden_proto (__fcntl) +extern int __openat (int __fd, const char *__file, int __oflag, ...) + __nonnull ((2)); +libc_hidden_proto (__openat) +extern int __openat64 (int __fd, const char *__file, int __oflag, ...) + __nonnull ((2)); +libc_hidden_proto (__openat64) + +extern int __open_2 (const char *__path, int __oflag); +extern int __open64_2 (const char *__path, int __oflag); +extern int __openat_2 (int __fd, const char *__path, int __oflag); +extern int __openat64_2 (int __fd, const char *__path, int __oflag); + + +#if IS_IN (rtld) +# include <dl-fcntl.h> +#endif + +/* Flag determining whether the *at system calls are available. */ +extern int __have_atfcts attribute_hidden; +#endif + +#endif |