truncate
========

POSIX specification:
 https://pubs.opengroup.org/onlinepubs/9699919799/functions/truncate.html

Gnulib module: truncate

Portability problems fixed by Gnulib:

  * This function is missing on some platforms: mingw, MSVC 14, Android 4.4 with AC_SYS_LARGEFILE in effect.

  * On platforms where off_t is a 32-bit type, this function is not applicable to arbitrary lengths for files 2 GiB and larger. See Large File Support.

  * This function does not fail when the file name argument ends in a slash and (without the slash) names a non-directory, on some platforms: AIX 7.2.

Portability problems not fixed by Gnulib: