added sys::dup() and sys::openfd().

added the optional second parameter to sys::close(). it accepts sys::C_KEEPFD.
This commit is contained in:
2019-08-26 02:47:02 +00:00
parent 8bfac9fff4
commit 4e6015ed36
6 changed files with 239 additions and 22 deletions

View File

@ -124,6 +124,12 @@
/* Define to 1 if you have the <dlfcn.h> header file. */
#undef HAVE_DLFCN_H
/* Define to 1 if you have the `dup2' function. */
#undef HAVE_DUP2
/* Define to 1 if you have the `dup3' function. */
#undef HAVE_DUP3
/* Define to 1 if you have the `ENGINE_cleanup' function. */
#undef HAVE_ENGINE_CLEANUP