From 5c7252f4f5c37bd8a9754b1d9f1f2a95310d1fe7 Mon Sep 17 00:00:00 2001 From: Zefram Date: Tue, 19 Dec 2017 10:35:58 +0000 Subject: 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. --- config_h.SH | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'config_h.SH') 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 <$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 <$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 <$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. -- cgit v1.2.1