Next: truncf, Previous: trunc, Up: Function Substitutes [Contents][Index]
truncate
POSIX specification:
http://www.opengroup.org/onlinepubs/9699919799/functions/truncate.html
Gnulib module: —
Portability problems fixed by Gnulib:
Portability problems not 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.