aboutsummaryrefslogtreecommitdiff
path: root/io/fcntl.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-11-17 21:32:27 +0000
committerUlrich Drepper <drepper@redhat.com>2005-11-17 21:32:27 +0000
commitc6f688a090909c9865340460fd64e2e59c33be05 (patch)
treeb071e645b3837dda4a592a1a792a1c7319faaeb8 /io/fcntl.h
parent8ce9ea74cc2a6ce6fdafac0e0829b1bc93788143 (diff)
downloadglibc-c6f688a090909c9865340460fd64e2e59c33be05.zip
glibc-c6f688a090909c9865340460fd64e2e59c33be05.tar.gz
glibc-c6f688a090909c9865340460fd64e2e59c33be05.tar.bz2
* io/sys/stat.h (fstatat): If __REDIRECT_NTH isn't defined,
define fstatat to fstatat64. (fstatat64): Only provide prototype if __USE_LARGEFILE64, similarly with the inline. * io/fcntl.h (openat64): Only provide prototype if __USE_LARGEFILE64.
Diffstat (limited to 'io/fcntl.h')
-rw-r--r--io/fcntl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/io/fcntl.h b/io/fcntl.h
index 8e13d33..313540f 100644
--- a/io/fcntl.h
+++ b/io/fcntl.h
@@ -114,8 +114,10 @@ extern int __REDIRECT (openat, (int __fd, __const char *__file, int __oflag,
# endif
# endif
+# ifdef __USE_LARGEFILE64
extern int openat64 (int __fd, __const char *__file, int __oflag, ...)
__nonnull ((2));
+# endif
#endif
/* Create and open FILE, with mode MODE. This takes an `int' MODE