3 ms·
All those arguments apply to off_t also. If a small-file executable with 32 bit off_t uses a large-file library with 64 bit off_t, there is no protection. Only
by kazinator 2y ago
All those arguments apply to off_t also. If a small-file executable with 32 bit off_t uses a large-file library with 64 bit off_t, there is no protection. Only glibc has the multiply implemented functions, selected by header file macrology.
- account42 2y agoYes but file offsets are a lot less common in library interfaces. And failures require files that are actually that large (well, inode numbers are also affected) so the impact is a lot more limited and gradual - everything will still work with small files whereas time_t will fail from just the passage of time.