summaryrefslogtreecommitdiff
path: root/gnulib/modules/ftruncate
diff options
context:
space:
mode:
Diffstat (limited to 'gnulib/modules/ftruncate')
m---------gnulib0
-rw-r--r--gnulib/modules/ftruncate30
2 files changed, 30 insertions, 0 deletions
diff --git a/gnulib b/gnulib
deleted file mode 160000
-Subproject 443bc5ffcf7429e557f4a371b0661abe98ddbc1
diff --git a/gnulib/modules/ftruncate b/gnulib/modules/ftruncate
new file mode 100644
index 0000000..097ed9c
--- /dev/null
+++ b/gnulib/modules/ftruncate
@@ -0,0 +1,30 @@
+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