]> sourceware.org Git - glibc.git/blame - include/fcntl.h
powerpc: Add powerpc64 strpbrk optimization
[glibc.git] / include / fcntl.h
CommitLineData
6796bc80 1#ifndef _FCNTL_H
28f540f4 2#include <io/fcntl.h>
bdbf022d 3
31341567 4#ifndef _ISOMAC
bdbf022d 5/* Now define the internal interfaces. */
a784e502 6extern int __open64 (const char *__file, int __oflag, ...);
37ba7d66 7libc_hidden_proto (__open64)
762e5d48
UD
8extern int __libc_open64 (const char *file, int oflag, ...);
9extern int __libc_open (const char *file, int oflag, ...);
37ba7d66 10libc_hidden_proto (__libc_open)
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
a784e502 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)
a784e502 20extern int __openat (int __fd, const char *__file, int __oflag, ...)
e2c7e1de
RM
21 __nonnull ((2));
22libc_hidden_proto (__openat)
a784e502 23extern int __openat64 (int __fd, const char *__file, int __oflag, ...)
e2c7e1de
RM
24 __nonnull ((2));
25libc_hidden_proto (__openat64)
26
a784e502
UD
27extern int __open_2 (const char *__path, int __oflag);
28extern int __open64_2 (const char *__path, int __oflag);
29extern int __openat_2 (int __fd, const char *__path, int __oflag);
30extern int __openat64_2 (int __fd, const char *__path, int __oflag);
ddfd0535 31
762e5d48 32
7c65e900
UD
33/* Flag determining whether the *at system calls are available. */
34extern int __have_atfcts attribute_hidden;
35
cbf0489b
UD
36#ifdef O_CLOEXEC
37extern int __have_o_cloexec attribute_hidden;
38#endif
31341567 39#endif
cbf0489b 40
6796bc80 41#endif
This page took 0.391926 seconds and 5 git commands to generate.