summaryrefslogtreecommitdiff
path: root/gnulib/modules/ftruncate
blob: 097ed9c770817c18f4ab8389a3f49c5e4ffeb07b (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
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