view modules/close-stream @ 40244:c39a0edd90d7

fts: minor simplification * lib/fts.c (fts_safe_changedir): Remove redundant assignment.
author Paul Eggert <eggert@cs.ucla.edu>
date Sun, 17 Mar 2019 12:39:50 -0700
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