1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
Description:
ftruncate() function: truncate an open file to a specified length.
Files:
lib/ftruncate.c
m4/ftruncate.m4
Depends-on:
unistd-h
sys_types-h
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
gl_CONDITIONAL([GL_COND_OBJ_FTRUNCATE],
[test $HAVE_FTRUNCATE = 0 || test $REPLACE_FTRUNCATE = 1])
AM_COND_IF([GL_COND_OBJ_FTRUNCATE], [
gl_PREREQ_FTRUNCATE
])
gl_UNISTD_MODULE_INDICATOR([ftruncate])
Makefile.am:
if GL_COND_OBJ_FTRUNCATE
lib_SOURCES += ftruncate.c
endif
Include:
<unistd.h>
License:
GPL
Maintainer:
Jim Meyering
|