fstat64
fstat64 is a variant of the POSIX fstat function used to obtain status information about an open file referred to by a file descriptor, with emphasis on large-file support. It is typically provided on systems that historically required 64-bit file sizes on 32-bit architectures. On modern 64-bit systems, the regular fstat and the related stat structures already accommodate large files, and fstat64 may be a compatibility symbol rather than a separate necessity.
The function signature is generally int fstat64(int fd, struct stat64 *buf); on success it fills the provided
Usage of fstat64 is mainly for maintaining compatibility with older codebases and systems that expose a distinct
See also stat64, fstat, lstat, and stat for related file-status operations.