diff options
author | Anthony J. Bentley <anthony@anjbe.name> | 2016-07-17 04:30:00 -0600 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2016-10-27 23:28:30 +0000 |
commit | 26af2b644ce634c383f27b66b9d291a34d80ab30 (patch) | |
tree | 37f28ce4c8bbe831c7ab3779eb427b17d8844636 /src/common/x64/cpu_detect.cpp | |
parent | 51f92f0e4e688104daf9abdddbd1fd2d6bcef30d (diff) |
common: convert to standard stat()/fstat() interfaces
Most modern Unix environments use 64-bit off_t by default: OpenBSD,
FreeBSD, OS X, and Linux libc implementations such as Musl.
glibc is the lone exception; it can default to 32 bits but this is
configurable by setting _FILE_OFFSET_BITS.
Avoiding the stat64()/fstat64() interfaces is desirable because they
are nonstandard and not implemented on many systems (including
OpenBSD and FreeBSD), and using 64 bits for stat()/fstat() is either
the default or trivial to set up.
Diffstat (limited to 'src/common/x64/cpu_detect.cpp')
0 files changed, 0 insertions, 0 deletions