view modules/fopen-safer @ 17935:0ad1f4c9eed5 default tip

tests: support stderr verification with returns_() * tests/init.sh (returns_): Disable tracing for this wrapper function, so that stderr of the wrapped command is unchanged, allowing for verification of the contents.
author Pádraig Brady <P@draigBrady.com>
date Mon, 16 Feb 2015 17:20:39 +0000
parents 6a09a3caddef
children
line wrap: on
line source

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

Files:
lib/stdio--.h
lib/stdio-safer.h
lib/fopen-safer.c

Depends-on:
fopen
unistd-safer

configure.ac:
gl_MODULE_INDICATOR([fopen-safer])

Makefile.am:
lib_SOURCES += fopen-safer.c

Include:
"stdio-safer.h"

License:
GPL

Maintainer:
Paul Eggert, Jim Meyering