summaryrefslogtreecommitdiff
path: root/modules/ftruncate
blob: 3bea20be3b06edd5a0fbfa8cc60371e305e780fd (plain)
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
Description:
ftruncate() function: truncate an open file to a specified length.

Files:
lib/ftruncate.c
m4/ftruncate.m4

Depends-on:
unistd
largefile

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