Hash :
5d91e956
Author :
Date :
2011-09-25T14:10:58
ftruncate: Support for MSVC 9. * lib/ftruncate.c: Include errno.h, msvc-inval.h. (chsize_nothrow): New function. (chsize): Redefine as a macro. * m4/ftruncate.m4 (gl_PREREQ_FTRUNCATE): Require AC_C_INLINE. * modules/ftruncate (Depends-on): Add msvc-inval.
Description:
ftruncate() function: truncate an open file to a specified length.
Files:
lib/ftruncate.c
m4/ftruncate.m4
Depends-on:
unistd
largefile
msvc-inval [test $HAVE_FTRUNCATE = 0]
configure.ac:
gl_FUNC_FTRUNCATE
if test $HAVE_FTRUNCATE = 0; then
AC_LIBOBJ([ftruncate])
gl_PREREQ_FTRUNCATE
fi
gl_UNISTD_MODULE_INDICATOR([ftruncate])
Makefile.am:
Include:
<unistd.h>
License:
GPL
Maintainer:
Jim Meyering