Description:
ftruncate() function: truncate an open file to a specified length.
-Status:
-obsolete
-
-Notice:
-This module is obsolete.
-
Files:
lib/ftruncate.c
m4/ftruncate.m4
Depends-on:
unistd
+sys_types
+largefile
+msvc-nothrow [test $HAVE_FTRUNCATE = 0 || test $REPLACE_FTRUNCATE = 1]
+msvc-inval [test $HAVE_FTRUNCATE = 0 || test $REPLACE_FTRUNCATE = 1]
configure.ac:
gl_FUNC_FTRUNCATE
-if test $HAVE_FTRUNCATE = 0; then
+if test $HAVE_FTRUNCATE = 0 || test $REPLACE_FTRUNCATE = 1; then
AC_LIBOBJ([ftruncate])
gl_PREREQ_FTRUNCATE
fi