view modules/ftruncate @ 17259:bc20efc34eba octave-stable

branch to handle patches for Octave stable
author John W. Eaton <jwe@octave.org>
date Thu, 03 Jan 2013 14:26:52 -0500
parents 402bb52d5f11
children 6a9ea5d7b466
line wrap: on
line source

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