timespec_get: New module.
[gnulib.git] / modules / ftruncate
blob5a8913975bec3af987019dbd3f28fd2ea6ea4122
1 Description:
2 ftruncate() function: truncate an open file to a specified length.
4 Files:
5 lib/ftruncate.c
6 m4/ftruncate.m4
8 Depends-on:
9 unistd
10 sys_types
11 largefile
12 msvc-nothrow    [test $HAVE_FTRUNCATE = 0 || test $REPLACE_FTRUNCATE = 1]
13 msvc-inval      [test $HAVE_FTRUNCATE = 0 || test $REPLACE_FTRUNCATE = 1]
15 configure.ac:
16 gl_FUNC_FTRUNCATE
17 if test $HAVE_FTRUNCATE = 0 || test $REPLACE_FTRUNCATE = 1; then
18   AC_LIBOBJ([ftruncate])
19   gl_PREREQ_FTRUNCATE
21 gl_UNISTD_MODULE_INDICATOR([ftruncate])
23 Makefile.am:
25 Include:
26 <unistd.h>
28 License:
29 GPL
31 Maintainer:
32 Jim Meyering