summaryrefslogtreecommitdiff
path: root/gnulib/doc/posix-functions/ftruncate.texi
blob: 16713e7d5b7a90e06a76968e41f47013f07e8d18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
@node ftruncate
@section @code{ftruncate}
@findex ftruncate

POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/ftruncate.html}

Gnulib module: ftruncate

Portability problems fixed by Gnulib:
@itemize
@item
This function is missing on some platforms:
MSVC 9.
@item
On platforms where @code{off_t} is a 32-bit type, this function is not
applicable to arbitrary lengths for files larger than 2 GB.  The fix is to
use the @code{AC_SYS_LARGEFILE} macro.
@end itemize

Portability problems not fixed by Gnulib:
@itemize
@end itemize