1#ifndef _FCNTL_H
2#include <io/fcntl.h>
3
4#ifndef _ISOMAC
5/* Now define the internal interfaces. */
6extern int __open64 (const char *__file, int __oflag, ...);
7libc_hidden_proto (__open64)
8extern int __libc_open64 (const char *file, int oflag, ...);
9extern int __libc_open (const char *file, int oflag, ...);
10libc_hidden_proto (__libc_open)
11extern int __libc_fcntl (int fd, int cmd, ...) attribute_hidden;
12libc_hidden_proto (__libc_fcntl)
13extern int __open (const char *__file, int __oflag, ...);
14libc_hidden_proto (__open)
15extern int __fcntl (int __fd, int __cmd, ...);
16libc_hidden_proto (__fcntl)
17extern int __openat (int __fd, const char *__file, int __oflag, ...)
18 __nonnull ((2));
19libc_hidden_proto (__openat)
20extern int __openat64 (int __fd, const char *__file, int __oflag, ...)
21 __nonnull ((2));
22libc_hidden_proto (__openat64)
23
24extern int __open_2 (const char *__path, int __oflag);
25extern int __open64_2 (const char *__path, int __oflag);
26extern int __openat_2 (int __fd, const char *__path, int __oflag);
27extern int __openat64_2 (int __fd, const char *__path, int __oflag);
28
29
30#if IS_IN (rtld)
31# include <dl-fcntl.h>
32#endif
33
34/* Flag determining whether the *at system calls are available. */
35extern int __have_atfcts attribute_hidden;
36#endif
37
38#endif
39