view modules/pipe2-safer @ 40237:b1386ce84ff5

fatal-signal: Add function that lists the fatal signals. * lib/fatal-signal.h (get_fatal_signals): New declaration. * lib/fatal-signal.c (get_fatal_signals): New function.
author Bruno Haible <bruno@clisp.org>
date Sat, 16 Mar 2019 17:48:06 +0100
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