mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-09-14 00:21:53 +03:00
* modules/unistd-h: Renamed from modules/unistd. * modules/unistd-h-tests: Renamed from modules/unistd-tests. * modules/unistd-h-c++-tests: Renamed from modules/unistd-c++-tests. * tests/test-unistd-h.c: Renamed from tests/test-unistd.c. * tests/test-unistd-h-c++.cc: Renamed from tests/test-unistd-c++.cc. * doc/posix-headers/unistd.texi: Update. * doc/posix-functions/_exit.texi: Update. * modules/* (Depends-on): Update. * modules/unistd: New file.
37 lines
695 B
Plaintext
37 lines
695 B
Plaintext
Description:
|
|
ftruncate() function: truncate an open file to a specified length.
|
|
|
|
Files:
|
|
lib/ftruncate.c
|
|
m4/ftruncate.m4
|
|
|
|
Depends-on:
|
|
unistd-h
|
|
sys_types-h
|
|
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
|
|
gl_CONDITIONAL([GL_COND_OBJ_FTRUNCATE],
|
|
[test $HAVE_FTRUNCATE = 0 || test $REPLACE_FTRUNCATE = 1])
|
|
AM_COND_IF([GL_COND_OBJ_FTRUNCATE], [
|
|
gl_PREREQ_FTRUNCATE
|
|
])
|
|
gl_UNISTD_MODULE_INDICATOR([ftruncate])
|
|
|
|
Makefile.am:
|
|
if GL_COND_OBJ_FTRUNCATE
|
|
lib_SOURCES += ftruncate.c
|
|
endif
|
|
|
|
Include:
|
|
<unistd.h>
|
|
|
|
License:
|
|
GPL
|
|
|
|
Maintainer:
|
|
Jim Meyering
|