Hash :
864eeee5
Author :
Date :
2011-05-06T00:34:34
fclose, fflush: Respect rules for use of AC_LIBOBJ. * m4/fflush.m4 (gl_FUNC_FFLUSH): Don't invoke gl_REPLACE_FCLOSE. * m4/fclose.m4 (gl_FUNC_FCLOSE): Invoke gl_FUNC_FFLUSH_STDIN and gl_REPLACE_FCLOSE here. * modules/fflush (Depends-on): Remove fclose. * doc/posix-functions/fclose.texi: Mention module 'fflush' only in combination with module 'fclose'.
Description:
Discard pending data on both input and output streams.
Files:
lib/fflush.c
lib/stdio-impl.h
m4/fflush.m4
Depends-on:
stdio
fpurge [test $REPLACE_FFLUSH = 1]
ftello [test $REPLACE_FFLUSH = 1]
freading [test $REPLACE_FFLUSH = 1]
lseek [test $REPLACE_FFLUSH = 1]
unistd [test $REPLACE_FFLUSH = 1]
fseeko [test $REPLACE_FFLUSH = 1]
configure.ac-early:
AC_REQUIRE([AC_FUNC_FSEEKO])
configure.ac:
gl_FUNC_FFLUSH
gl_MODULE_INDICATOR([fflush])
gl_STDIO_MODULE_INDICATOR([fflush])
Makefile.am:
Include:
<stdio.h>
License:
LGPL
Maintainer:
Eric Blake