__fxstatat64, fstatat64


__fxstatat64, fstatat64 -- get file status relative to a directory file descriptor (Large File Support)


#include <fcntl.h>
#include <sys/stat.h>

int __fxstatat64(int ver, int dirfd, const char * path, struct stat64 * stat_buf, int flags);

int fstatat64(int dirfd, const char * file, struct stat64 * buf, int flag);


fstatat64() is a large-file version of the fstatat() function as defined in POSIX 1003.1-2008 (ISO/IEC 9945-2009). It differs from fstatat() only in that the buf parameter refers to a large-file version of the stat structure.

The __fxstatat64() function shall implement the fstatat64() function. The behavior of __fxstatat64() for values of ver other than _STAT_VER is undefined. See Data Definitions in the architecture specific part of this specification for the correct value of _STAT_VER.

__fxstatat64(_STAT_VER, dirfd, stat_buf, flags) shall behave as fstatat64(dirfd, stat_buf, flags)

__fxstatat64() is not in the source standard; it is only in the binary standard.

Note: The fstatat64() function is not in the binary standard; it is only in the source standard.