view modules/popen-safer @ 12496:a48d3d749ca5

Refactor common macros used in tests.
author Bruno Haible <bruno@clisp.org>
date Thu, 24 Dec 2009 21:01:42 +0100
parents 9ebc8e9eca64
children 6a3afd222026
line wrap: on
line source

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

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

Depends-on:
cloexec
open
popen
unistd-safer

configure.ac:
gl_POPEN_SAFER
gl_MODULE_INDICATOR([popen-safer])

Makefile.am:

Include:
"stdio-safer.h"

License:
GPL

Maintainer:
Eric Blake