summaryrefslogtreecommitdiff
path: root/ext/standard/pageinfo.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-08-25 19:24:55 +0200
committerAnatol Belski <ab@php.net>2014-08-25 19:24:55 +0200
commitc3e3c98ec666812daaaca896cf5ef758a8a6df14 (patch)
treed82a76de5c8d117d1cf2dcca19bb30a283621870 /ext/standard/pageinfo.c
parent0cf2dbdf58645b52cb6582b1b2571c5cd9e9e6b3 (diff)
downloadphp-git-c3e3c98ec666812daaaca896cf5ef758a8a6df14.tar.gz
master renames phase 1
Diffstat (limited to 'ext/standard/pageinfo.c')
-rw-r--r--ext/standard/pageinfo.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/ext/standard/pageinfo.c b/ext/standard/pageinfo.c
index 7381100fab..d2b3cd1ce4 100644
--- a/ext/standard/pageinfo.c
+++ b/ext/standard/pageinfo.c
@@ -79,14 +79,14 @@ PHPAPI void php_statpage(TSRMLS_D)
/* {{{ php_getuid
*/
-php_int_t php_getuid(TSRMLS_D)
+zend_long php_getuid(TSRMLS_D)
{
php_statpage(TSRMLS_C);
return (BG(page_uid));
}
/* }}} */
-php_int_t php_getgid(TSRMLS_D)
+zend_long php_getgid(TSRMLS_D)
{
php_statpage(TSRMLS_C);
return (BG(page_gid));
@@ -96,7 +96,7 @@ php_int_t php_getgid(TSRMLS_D)
Get PHP script owner's UID */
PHP_FUNCTION(getmyuid)
{
- php_int_t uid;
+ zend_long uid;
if (zend_parse_parameters_none() == FAILURE) {
return;
@@ -106,7 +106,7 @@ PHP_FUNCTION(getmyuid)
if (uid < 0) {
RETURN_FALSE;
} else {
- RETURN_INT(uid);
+ RETURN_LONG(uid);
}
}
/* }}} */
@@ -115,7 +115,7 @@ PHP_FUNCTION(getmyuid)
Get PHP script owner's GID */
PHP_FUNCTION(getmygid)
{
- php_int_t gid;
+ zend_long gid;
if (zend_parse_parameters_none() == FAILURE) {
return;
@@ -125,7 +125,7 @@ PHP_FUNCTION(getmygid)
if (gid < 0) {
RETURN_FALSE;
} else {
- RETURN_INT(gid);
+ RETURN_LONG(gid);
}
}
/* }}} */
@@ -134,7 +134,7 @@ PHP_FUNCTION(getmygid)
Get current process ID */
PHP_FUNCTION(getmypid)
{
- php_int_t pid;
+ zend_long pid;
if (zend_parse_parameters_none() == FAILURE) {
return;
@@ -144,7 +144,7 @@ PHP_FUNCTION(getmypid)
if (pid < 0) {
RETURN_FALSE;
} else {
- RETURN_INT(pid);
+ RETURN_LONG(pid);
}
}
/* }}} */
@@ -161,7 +161,7 @@ PHP_FUNCTION(getmyinode)
if (BG(page_inode) < 0) {
RETURN_FALSE;
} else {
- RETURN_INT(BG(page_inode));
+ RETURN_LONG(BG(page_inode));
}
}
/* }}} */
@@ -176,7 +176,7 @@ PHPAPI time_t php_getlastmod(TSRMLS_D)
Get time of last page modification */
PHP_FUNCTION(getlastmod)
{
- php_int_t lm;
+ zend_long lm;
if (zend_parse_parameters_none() == FAILURE) {
return;
@@ -186,7 +186,7 @@ PHP_FUNCTION(getlastmod)
if (lm < 0) {
RETURN_FALSE;
} else {
- RETURN_INT(lm);
+ RETURN_LONG(lm);
}
}
/* }}} */