Next: ftrylockfile
, Previous: ftok
, Up: ISO C and POSIX Function Substitutes [Contents][Index]
ftruncate
POSIX specification:
https://pubs.opengroup.org/onlinepubs/9699919799/functions/ftruncate.html
Gnulib module: ftruncate
Portability problems fixed by Gnulib:
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 AC_SYS_LARGEFILE
macro.
Portability problems not fixed by Gnulib: