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, ...);
12libc_hidden_proto (__libc_fcntl)
13extern int __fcntl64_nocancel_adjusted (int fd, int cmd, void *arg)
14 attribute_hidden;
15extern int __libc_fcntl64 (int fd, int cmd, ...);
16libc_hidden_proto (__libc_fcntl64)
17extern int __open (const char *__file, int __oflag, ...);
18libc_hidden_proto (__open)
19extern int __fcntl (int __fd, int __cmd, ...);
20libc_hidden_proto (__fcntl)
21extern int __fcntl64 (int __fd, int __cmd, ...) attribute_hidden;
22libc_hidden_proto (__fcntl64)
23extern int __openat (int __fd, const char *__file, int __oflag, ...)
24 __nonnull ((2));
25libc_hidden_proto (__openat)
26extern int __openat64 (int __fd, const char *__file, int __oflag, ...)
27 __nonnull ((2));
28libc_hidden_proto (__openat64)
29
30extern int __open_2 (const char *__path, int __oflag);
31extern int __open64_2 (const char *__path, int __oflag);
32extern int __openat_2 (int __fd, const char *__path, int __oflag);
33extern int __openat64_2 (int __fd, const char *__path, int __oflag);
34
35
36#if IS_IN (rtld)
37# include <dl-fcntl.h>
38#endif
39
40/* Flag determining whether the *at system calls are available. */
41extern int __have_atfcts attribute_hidden;
42#endif
43
44#endif
45

source code of glibc/include/fcntl.h