view modules/ftruncate @ 15070:221318b8a54e

random_r: Move AC_LIBOBJ invocations to module description. * m4/random_r.m4 (gl_FUNC_RANDOM_R): Move AC_LIBOBJ and gl_PREREQ_RANDOM_R invocations from here... * modules/random_r (configure.ac): ... to here.
author Bruno Haible <bruno@clisp.org>
date Sat, 21 May 2011 17:50:27 +0200
parents 94995b9f1d9a
children 9f82d16d3139
line wrap: on
line source

Description:
ftruncate() function: truncate an open file to a specified length.

Status:
obsolete

Notice:
This module is obsolete.

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

Depends-on:
unistd

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