view modules/close-stream @ 17724:8526f2f0b117

maint.mk: give projects more flexibilty in set_prog_name arguments * top/maint.mk (sc_program_name): Allow arguments other than argv[0] to be passed to set_program_name(). This is needed by the multicall coreutils program for example.
author Pádraig Brady <P@draigBrady.com>
date Sat, 12 Jul 2014 15:21:12 +0100
parents c4b31f5b27a7
children
line wrap: on
line source

Description:
Close a stream, with nicer error checking than fclose's.

Files:
lib/close-stream.h
lib/close-stream.c
m4/close-stream.m4

Depends-on:
fpending
stdbool

configure.ac:
gl_CLOSE_STREAM
gl_MODULE_INDICATOR([close-stream])

Makefile.am:
lib_SOURCES += close-stream.c

Include:
"close-stream.h"

License:
GPL

Maintainer:
Jim Meyering