diff options
author | Ulrich Drepper <drepper@redhat.com> | 2005-11-17 21:32:27 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2005-11-17 21:32:27 +0000 |
commit | c6f688a090909c9865340460fd64e2e59c33be05 (patch) | |
tree | b071e645b3837dda4a592a1a792a1c7319faaeb8 /io/fcntl.h | |
parent | 8ce9ea74cc2a6ce6fdafac0e0829b1bc93788143 (diff) | |
download | glibc-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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |