view modules/popen-safer @ 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 637f3a63efbd
children
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

Depends-on:
open
popen
unistd-safer

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

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

Include:
"stdio-safer.h"

License:
GPL

Maintainer:
Eric Blake