diff modules/fd-safer-flag @ 12432:0759131e0d13

New module 'fd-safer-flag'.
author Bruno Haible <bruno@clisp.org>
date Fri, 11 Dec 2009 20:59:01 +0100
parents
children 2a3833485e1c
line wrap: on
line diff
new file mode 100644
--- /dev/null
+++ b/modules/fd-safer-flag
@@ -0,0 +1,26 @@
+Description:
+fd_safer_flag() function: adjust a file descriptor result so that it avoids
+clobbering STD{IN,OUT,ERR}_FILENO, with specific flags.
+
+Files:
+lib/fd-safer-flag.c
+lib/dup-safer-flag.c
+
+Depends-on:
+unistd-safer
+cloexec
+
+configure.ac:
+gl_MODULE_INDICATOR([fd-safer-flag])
+
+Makefile.am:
+lib_SOURCES += fd-safer-flag.c dup-safer-flag.c
+
+Include:
+"unistd-safer.h"
+
+License:
+GPL
+
+Maintainer:
+Eric Blake