Skip to content
  • Anthony J. Bentley's avatar
    common: convert to standard stat()/fstat() interfaces · 26af2b64
    Anthony J. Bentley authored
    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.
    26af2b64
Loading