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