__fxstatat

Name

__fxstatat -- get file status relative to directory file descriptor

Synopsis

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

int __fxstatat(int ver, int dirfd, const char * path, struct stat * stat_buf, int flags);

Description

The __fxstatat() function shall implement the fstatat() function. The behavior of __fxstatat() 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.

__fxstatat(_STAT_VER, dirfd, stat_buf, flags) shall behave as fstatat(dirfd, stat_buf, flags) as specified by POSIX 1003.1-2008 (ISO/IEC 9945-2009).

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

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