error-h: Avoid namespace pollution on mingw.
[gnulib.git] / modules / ftruncate
blobc8e58ca940a6e9389b7e4c823acfc3386d1aaa44
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 gl_CONDITIONAL([GL_COND_OBJ_FTRUNCATE],
18                [test $HAVE_FTRUNCATE = 0 || test $REPLACE_FTRUNCATE = 1])
19 AM_COND_IF([GL_COND_OBJ_FTRUNCATE], [
20   gl_PREREQ_FTRUNCATE
22 gl_UNISTD_MODULE_INDICATOR([ftruncate])
24 Makefile.am:
25 if GL_COND_OBJ_FTRUNCATE
26 lib_SOURCES += ftruncate.c
27 endif
29 Include:
30 <unistd.h>
32 License:
33 GPL
35 Maintainer:
36 Jim Meyering