view modules/freadable @ 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 1f14c6dd175d
children
line wrap: on
line source

Description:
freadable() function: Determine whether a FILE stream supports reading.

Files:
lib/freadable.h
lib/freadable.c
lib/stdio-impl.h
m4/freadable.m4

Depends-on:
stdbool

configure.ac:
gl_FUNC_FREADABLE
if test $ac_cv_func___freadable = no; then
  AC_LIBOBJ([freadable])
fi

Makefile.am:

Include:
"freadable.h"

License:
LGPL

Maintainer:
Eric Blake