poll tests: Avoid test failure on BSD and Solaris systems.
[gnulib.git] / doc / posix-functions / truncate.texi
blob85a4dbe9bb80a2956eda2832efafd27122569ba5
1 @node truncate
2 @section @code{truncate}
3 @findex truncate
5 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/truncate.html}
7 Gnulib module: truncate
9 Portability problems fixed by Gnulib:
10 @itemize
11 @item
12 This function is missing on some platforms:
13 mingw, MSVC 14, Android 4.4 with @code{AC_SYS_LARGEFILE} in effect.
14 @item
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.
18 @end itemize
20 Portability problems not fixed by Gnulib:
21 @itemize
22 @end itemize