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

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

Depends-on:
unistd
sys_types
largefile
msvc-nothrow    [test $HAVE_FTRUNCATE = 0 || test $REPLACE_FTRUNCATE = 1]
msvc-inval      [test $HAVE_FTRUNCATE = 0 || test $REPLACE_FTRUNCATE = 1]

configure.ac:
gl_FUNC_FTRUNCATE
if test $HAVE_FTRUNCATE = 0 || test $REPLACE_FTRUNCATE = 1; then
  AC_LIBOBJ([ftruncate])
  gl_PREREQ_FTRUNCATE
fi
gl_UNISTD_MODULE_INDICATOR([ftruncate])

Makefile.am:

Include:
<unistd.h>

License:
GPL

Maintainer:
Jim Meyering