summaryrefslogtreecommitdiff
path: root/ext/posix
diff options
context:
space:
mode:
authorGabriel Caruso <carusogabriel34@gmail.com>2018-02-23 04:42:27 -0300
committerChristoph M. Becker <cmbecker69@gmx.de>2018-02-23 11:06:20 +0100
commit1314f0fb3a9ff25b9afe68845012c1d0acbec262 (patch)
tree85f4d3abdfe8c3da39b85ccf47ae25075d2987d3 /ext/posix
parentbff179888f6d247c3584150f0c729634b95c745b (diff)
downloadphp-git-1314f0fb3a9ff25b9afe68845012c1d0acbec262.tar.gz
Use int instead of long in protos
Diffstat (limited to 'ext/posix')
-rw-r--r--ext/posix/posix.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/posix/posix.c b/ext/posix/posix.c
index d6b5fcf643..8d39c720ce 100644
--- a/ext/posix/posix.c
+++ b/ext/posix/posix.c
@@ -520,7 +520,7 @@ PHP_FUNCTION(posix_getegid)
}
/* }}} */
-/* {{{ proto bool posix_setuid(long uid)
+/* {{{ proto bool posix_setuid(int uid)
Set user id (POSIX.1, 4.2.2) */
PHP_FUNCTION(posix_setuid)
{
@@ -536,7 +536,7 @@ PHP_FUNCTION(posix_setgid)
}
/* }}} */
-/* {{{ proto bool posix_seteuid(long uid)
+/* {{{ proto bool posix_seteuid(int uid)
Set effective user id */
#ifdef HAVE_SETEUID
PHP_FUNCTION(posix_seteuid)
@@ -546,7 +546,7 @@ PHP_FUNCTION(posix_seteuid)
#endif
/* }}} */
-/* {{{ proto bool posix_setegid(long uid)
+/* {{{ proto bool posix_setegid(int uid)
Set effective group id */
#ifdef HAVE_SETEGID
PHP_FUNCTION(posix_setegid)
@@ -1106,7 +1106,7 @@ PHP_FUNCTION(posix_getgrnam)
}
/* }}} */
-/* {{{ proto array posix_getgrgid(long gid)
+/* {{{ proto array posix_getgrgid(int gid)
Group database access (POSIX.1, 9.2.1) */
PHP_FUNCTION(posix_getgrgid)
{
@@ -1226,7 +1226,7 @@ PHP_FUNCTION(posix_getpwnam)
}
/* }}} */
-/* {{{ proto array posix_getpwuid(long uid)
+/* {{{ proto array posix_getpwuid(int uid)
User database access (POSIX.1, 9.2.2) */
PHP_FUNCTION(posix_getpwuid)
{