summaryrefslogtreecommitdiff
path: root/config_h.SH
diff options
context:
space:
mode:
authorZefram <zefram@fysh.org>2017-12-19 10:35:58 +0000
committerZefram <zefram@fysh.org>2017-12-22 16:00:57 +0000
commit5c7252f4f5c37bd8a9754b1d9f1f2a95310d1fe7 (patch)
tree7a512a9e322e2f1d3754c1f33987bc378e3c9ef5 /config_h.SH
parent8e920bd341e241f50a74dbf8aa343319f204e200 (diff)
downloadperl-5c7252f4f5c37bd8a9754b1d9f1f2a95310d1fe7.tar.gz
configure probes for accept4(), dup3(), pipe2()
These will shortly be used to implement I/O operations that create file descriptors with the FD_CLOEXEC flag set atomically.
Diffstat (limited to 'config_h.SH')
-rwxr-xr-xconfig_h.SH18
1 files changed, 18 insertions, 0 deletions
diff --git a/config_h.SH b/config_h.SH
index e5e08eef54..b8300b4941 100755
--- a/config_h.SH
+++ b/config_h.SH
@@ -2314,6 +2314,12 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
*/
#$d__fwalk HAS__FWALK /**/
+/* HAS_ACCEPT4:
+ * This symbol, if defined, indicates that the accept4
+ * system call is available to accept socket connections.
+ */
+#$d_accept4 HAS_ACCEPT4 /**/
+
/* HAS_ACOSH:
* This symbol, if defined, indicates that the acosh routine is
* available to do the inverse hyperbolic cosine function.
@@ -2445,6 +2451,12 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
*/
#$d_dlsymun DLSYM_NEEDS_UNDERSCORE /**/
+/* HAS_DUP3:
+ * This symbol, if defined, indicates that the dup3
+ * system call is available to duplicate file descriptors.
+ */
+#$d_dup3 HAS_DUP3 /**/
+
/* HAS_ERF:
* This symbol, if defined, indicates that the erf routine is
* available to do the error function.
@@ -3136,6 +3148,12 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
*/
#$d_off64_t HAS_OFF64_T /**/
+/* HAS_PIPE2:
+ * This symbol, if defined, indicates that the pipe2
+ * system call is available to create inter-process pipes.
+ */
+#$d_pipe2 HAS_PIPE2 /**/
+
/* HAS_PRCTL:
* This symbol, if defined, indicates that the prctl routine is
* available to set process title.