From 0ecb606cb6cf65de1d9fc8a919bceb4be476c602 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Thu, 12 Jul 2007 18:26:36 +0000 Subject: 2.5-18.1 --- include/fcntl.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'include/fcntl.h') diff --git a/include/fcntl.h b/include/fcntl.h index 7764f1cd62..e23af1c3d3 100644 --- a/include/fcntl.h +++ b/include/fcntl.h @@ -17,5 +17,23 @@ extern int __open (__const char *__file, int __oflag, ...); libc_hidden_proto (__open) extern int __fcntl (int __fd, int __cmd, ...); libc_hidden_proto (__fcntl) +extern int __openat (int __fd, __const char *__file, int __oflag, ...) + __nonnull ((2)); +libc_hidden_proto (__openat) +extern int __openat64 (int __fd, __const char *__file, int __oflag, ...) + __nonnull ((2)); +libc_hidden_proto (__openat64) + + +/* Helper functions for the various *at functions. For Linux. */ +extern void __atfct_seterrno (int errval, int fd, const char *buf) + attribute_hidden; +extern void __atfct_seterrno_2 (int errval, int fd1, const char *buf1, + int fd2, const char *buf2) + attribute_hidden; + + +/* Flag determining whether the *at system calls are available. */ +extern int __have_atfcts attribute_hidden; #endif -- cgit v1.2.3