__xstat64

Name

__xstat64 -- get File Status

Synopsis

#define _LARGEFILE_SOURCE 1
#include <sys/stat.h>
#include <unistd.h>

int __xstat64(int ver, const char * path, struct stat64 * stat_buf);

int __lxstat64(int ver, const char * path, struct stat64 * stat_buf);

int __fxstat64(int ver, int fildes, struct stat64 * stat_buf);

Description

The functions __xstat64(), __lxstat64(), and __fxstat64() shall implement the Large File Support functions stat64(), lstat64(), and fstat64() respectively.

ver shall be 3 or the behavior of these functions is undefined.

__xstat64(3, path, stat_buf) shall behave as stat(path, stat_buf) as specified by Large File Support.

__lxstat64(3, path, stat_buf) shall behave as lstat(path, stat_buf) as specified by Large File Support.

__fxstat64(3, fildes, stat_buf) shall behave as fstat(fildes, stat_buf) as specified by Large File Support.

__xstat64(), __lxstat64(), and __fxstat64() are not in the source standard; they are only in the binary standard.

stat64(), lstat64(), and fstat64() are not in the binary standard; they are only in the source standard.