view modules/freopen-safer @ 14953:632892f73130

fwriting: Move AC_LIBOBJ invocations to module description. * m4/fwriting.m4 (gl_FUNC_FWRITINT): Move AC_LIBOBJ invocation from here... * modules/fwriting (configure.ac): ... to here.
author Bruno Haible <bruno@clisp.org>
date Sat, 07 May 2011 13:48:53 +0200
parents b156d2d1b827
children a9daeaa8d991
line wrap: on
line source

Description:
freopen function that avoids clobbering std{in,out,err}.

Files:
lib/stdio--.h
lib/stdio-safer.h
lib/freopen-safer.c
m4/stdio-safer.m4

Depends-on:
dup2
freopen
open
stdbool

configure.ac:
gl_FREOPEN_SAFER
gl_MODULE_INDICATOR([freopen-safer])

Makefile.am:

Include:
"stdio-safer.h"

License:
GPL

Maintainer:
Eric Blake