view modules/fclose @ 40171:fbfa1d6417d9

strtod, strtold tests: Simplify tests. * tests/test-strtod.c (main): Assume no rounding errors for 0.5. * tests/test-strtold.c (main): Likewise.
author Bruno Haible <bruno@clisp.org>
date Fri, 01 Feb 2019 02:51:20 +0100
parents 1f14c6dd175d
children
line wrap: on
line source

Description:
fclose() function: close a stream.

Files:
lib/fclose.c
m4/fclose.m4

Depends-on:
stdio
close           [test $REPLACE_FCLOSE = 1]
fflush          [test $REPLACE_FCLOSE = 1]
freading        [test $REPLACE_FCLOSE = 1]
lseek           [test $REPLACE_FCLOSE = 1]
msvc-inval      [test $REPLACE_FCLOSE = 1]

configure.ac:
gl_FUNC_FCLOSE
if test $REPLACE_FCLOSE = 1; then
  AC_LIBOBJ([fclose])
fi
gl_STDIO_MODULE_INDICATOR([fclose])

Makefile.am:

Include:
<stdio.h>

License:
LGPLv2+

Maintainer:
all