2 @section @code{truncate}
5 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/truncate.html}
7 Gnulib module: truncate
9 Portability problems fixed by Gnulib:
12 This function is missing on some platforms:
13 mingw, MSVC 14, Android 4.4 with @code{AC_SYS_LARGEFILE} in effect.
15 On platforms where @code{off_t} is a 32-bit type, this function is not
16 applicable to arbitrary lengths for files larger than 2 GB@. The fix is to
17 use the @code{AC_SYS_LARGEFILE} macro.
20 Portability problems not fixed by Gnulib: