]> git.ipfire.org Git - thirdparty/glibc.git/blame - include/fcntl.h
Include sysdep-cancel.h again. Add LIBC_CANCEL_HANDLED ().
[thirdparty/glibc.git] / include / fcntl.h
CommitLineData
6796bc80 1#ifndef _FCNTL_H
28f540f4 2#include <io/fcntl.h>
bdbf022d
UD
3
4/* Now define the internal interfaces. */
c19559b0 5extern int __open64 (__const char *__file, int __oflag, ...);
37ba7d66 6libc_hidden_proto (__open64)
762e5d48
UD
7extern int __libc_open64 (const char *file, int oflag, ...);
8extern int __libc_open (const char *file, int oflag, ...);
37ba7d66 9libc_hidden_proto (__libc_open)
2674e3c6 10extern int __libc_creat (const char *file, mode_t mode);
762e5d48 11extern int __libc_fcntl (int fd, int cmd, ...);
d199bfb2 12#ifndef NO_CANCELLATION
ce42435c 13extern int __fcntl_nocancel (int fd, int cmd, ...) attribute_hidden;
37ba7d66 14libc_hidden_proto (__libc_fcntl)
d199bfb2 15#endif
414a6b0d 16extern int __open (__const char *__file, int __oflag, ...);
37ba7d66 17libc_hidden_proto (__open)
6b87a564 18extern int __fcntl (int __fd, int __cmd, ...);
37ba7d66 19libc_hidden_proto (__fcntl)
762e5d48 20
26cec518
UD
21/* Helper functions for the various *at functions. For Linux. */
22extern void __atfct_seterrno (int errval, int fd, const char *buf)
23 attribute_hidden;
5c46041a
UD
24extern void __atfct_seterrno_2 (int errval, int fd1, const char *buf1,
25 int fd2, const char *buf2)
26 attribute_hidden;
26cec518 27
6796bc80 28#endif