xref: /haiku/src/system/libroot/posix/glibc/include/fcntl.h (revision e81a954787e50e56a7f06f72705b7859b6ab06d1)
1 #ifndef _FCNTL_H
2 
3 #include_next <fcntl.h>
4 #include <features.h>
5 
6 /* Now define the internal interfaces.  */
7 extern int __open64 (__const char *__file, int __oflag, ...);
8 libc_hidden_proto (__open64)
9 extern int __libc_open64 (const char *file, int oflag, ...);
10 extern int __libc_open (const char *file, int oflag, ...);
11 libc_hidden_proto (__libc_open)
12 extern int __libc_creat (const char *file, mode_t mode);
13 extern int __libc_fcntl (int fd, int cmd, ...);
14 libc_hidden_proto (__libc_fcntl)
15 extern int __open (__const char *__file, int __oflag, ...);
16 libc_hidden_proto (__open)
17 
18 #endif
19