summaryrefslogtreecommitdiff
path: root/ext/pcntl/pcntl_arginfo.h
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2020-02-18 19:59:15 +0100
committerMáté Kocsis <kocsismate@woohoolabs.com>2020-02-18 21:10:36 +0100
commit736b22dc0b2fc36e9bd87f2ee5af8c4b2be9fd3d (patch)
treed64c1ceccf5eb553e6a210105238c32da693c22a /ext/pcntl/pcntl_arginfo.h
parent172010a08d0916ab1678f7f0768472c120330307 (diff)
downloadphp-git-736b22dc0b2fc36e9bd87f2ee5af8c4b2be9fd3d.tar.gz
Add stubs for aliases
Closes GH-5187
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)