1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-02 21:06:41 +03:00

* 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.
This commit is contained in:
Ulrich Drepper
2005-11-17 21:32:27 +00:00
parent 8ce9ea74cc
commit c6f688a090
3 changed files with 19 additions and 2 deletions

View File

@ -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