view modules/pipe2-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 0759131e0d13
children
line wrap: on
line source

Description:
pipe2_safer() function: create a pipe, with specific opening flags,
without clobbering std{in,out,err}.

Files:
lib/pipe2-safer.c

Depends-on:
fd-safer-flag
pipe2
unistd-safer

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

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

Include:
"unistd-safer.h"

License:
GPL

Maintainer:
Eric Blake