2004-10-22 Roland McGrath <roland@frob.com>
[glibc.git] / include / fcntl.h
blob7764f1cd62d874c7bb514c8abd79f99e2b96fdc0
1 #ifndef _FCNTL_H
2 #include <io/fcntl.h>
4 /* Now define the internal interfaces. */
5 extern int __open64 (__const char *__file, int __oflag, ...);
6 libc_hidden_proto (__open64)
7 extern int __libc_open64 (const char *file, int oflag, ...);
8 extern int __libc_open (const char *file, int oflag, ...);
9 libc_hidden_proto (__libc_open)
10 extern int __libc_creat (const char *file, mode_t mode);
11 extern int __libc_fcntl (int fd, int cmd, ...);
12 #ifndef NO_CANCELLATION
13 extern int __fcntl_nocancel (int fd, int cmd, ...) attribute_hidden;
14 libc_hidden_proto (__libc_fcntl)
15 #endif
16 extern int __open (__const char *__file, int __oflag, ...);
17 libc_hidden_proto (__open)
18 extern int __fcntl (int __fd, int __cmd, ...);
19 libc_hidden_proto (__fcntl)
21 #endif