summaryrefslogtreecommitdiff
path: root/ext/pcntl/pcntl_arginfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pcntl/pcntl_arginfo.h')
-rw-r--r--ext/pcntl/pcntl_arginfo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/pcntl/pcntl_arginfo.h b/ext/pcntl/pcntl_arginfo.h
index 7fc37ab4ec..2b73bac3eb 100644
--- a/ext/pcntl/pcntl_arginfo.h
+++ b/ext/pcntl/pcntl_arginfo.h
@@ -87,6 +87,8 @@ ZEND_END_ARG_INFO()
#define arginfo_pcntl_get_last_error arginfo_pcntl_fork
+#define arginfo_pcntl_errno arginfo_pcntl_fork
+
#if defined(HAVE_GETPRIORITY)
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_pcntl_getpriority, 0, 0, MAY_BE_LONG|MAY_BE_FALSE)
ZEND_ARG_TYPE_INFO(0, pid, IS_LONG, 0)