diff options
author | Andrei Zmievski <andrei@php.net> | 1999-12-20 15:23:38 +0000 |
---|---|---|
committer | Andrei Zmievski <andrei@php.net> | 1999-12-20 15:23:38 +0000 |
commit | 2603f1c4197977ce290f058480f103862b61b562 (patch) | |
tree | 13f8a4a271bcaddf2e98c151da83b2790aaa5f88 /ext/posix/posix.c | |
parent | 5eba3fbd34368517bcbab07f985879be75cdd803 (diff) | |
download | php-git-2603f1c4197977ce290f058480f103862b61b562.tar.gz |
Zend fixups.
Diffstat (limited to 'ext/posix/posix.c')
-rw-r--r-- | ext/posix/posix.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/ext/posix/posix.c b/ext/posix/posix.c index cc8efdd154..37d6fa39c6 100644 --- a/ext/posix/posix.c +++ b/ext/posix/posix.c @@ -150,7 +150,7 @@ PHP_FUNCTION(posix_kill) pval *sig; int result; - if (ARG_COUNT(ht) != 2 || getParameters(ht, 2, &pid, &sig)==FAILURE) { + if (ARG_COUNT(ht) != 2 || zend_get_parameters(ht, 2, &pid, &sig)==FAILURE) { WRONG_PARAM_COUNT; } @@ -243,7 +243,7 @@ PHP_FUNCTION(posix_setuid) pval *uid; int result; - if (ARG_COUNT(ht) != 1 || getParameters(ht, 1, &uid)==FAILURE) { + if (ARG_COUNT(ht) != 1 || zend_get_parameters(ht, 1, &uid)==FAILURE) { WRONG_PARAM_COUNT; } @@ -268,7 +268,7 @@ PHP_FUNCTION(posix_setgid) pval *gid; int result; - if (ARG_COUNT(ht) != 1 || getParameters(ht, 1, &gid)==FAILURE) { + if (ARG_COUNT(ht) != 1 || zend_get_parameters(ht, 1, &gid)==FAILURE) { WRONG_PARAM_COUNT; } @@ -361,7 +361,7 @@ PHP_FUNCTION(posix_setpgid) pval *pgid; int result; - if (ARG_COUNT(ht) != 2 || getParameters(ht, 2, &pid, &pgid)==FAILURE) { + if (ARG_COUNT(ht) != 2 || zend_get_parameters(ht, 2, &pid, &pgid)==FAILURE) { WRONG_PARAM_COUNT; } @@ -389,7 +389,7 @@ PHP_FUNCTION(posix_getpgid) pid_t pgid; pval *pid; - if (ARG_COUNT(ht) != 1 || getParameters(ht, 1, &pid)==FAILURE) { + if (ARG_COUNT(ht) != 1 || zend_get_parameters(ht, 1, &pid)==FAILURE) { WRONG_PARAM_COUNT; } @@ -418,7 +418,7 @@ PHP_FUNCTION(posix_getsid) pid_t sid; pval *pid; - if (ARG_COUNT(ht) != 1 || getParameters(ht, 1, &pid)==FAILURE) { + if (ARG_COUNT(ht) != 1 || zend_get_parameters(ht, 1, &pid)==FAILURE) { WRONG_PARAM_COUNT; } @@ -519,7 +519,7 @@ PHP_FUNCTION(posix_ttyname) pval *fd; char *p; - if (ARG_COUNT(ht) != 1 || getParameters(ht, 1, &fd)==FAILURE) { + if (ARG_COUNT(ht) != 1 || zend_get_parameters(ht, 1, &fd)==FAILURE) { WRONG_PARAM_COUNT; } convert_to_long(fd); @@ -543,7 +543,7 @@ PHP_FUNCTION(posix_isatty) pval *fd; int result; - if (ARG_COUNT(ht) != 1 || getParameters(ht, 1, &fd)==FAILURE) { + if (ARG_COUNT(ht) != 1 || zend_get_parameters(ht, 1, &fd)==FAILURE) { WRONG_PARAM_COUNT; } convert_to_long(fd); @@ -598,7 +598,7 @@ PHP_FUNCTION(posix_mkfifo) pval *mode; int result; - if (ARG_COUNT(ht) != 2 || getParameters(ht, 2, &path, &mode) == FAILURE) { + if (ARG_COUNT(ht) != 2 || zend_get_parameters(ht, 2, &path, &mode) == FAILURE) { WRONG_PARAM_COUNT; } convert_to_string(path); @@ -645,7 +645,7 @@ PHP_FUNCTION(posix_getgrnam) char **p; int count; - if (ARG_COUNT(ht) != 1 || getParameters(ht, 1, &name)==FAILURE) { + if (ARG_COUNT(ht) != 1 || zend_get_parameters(ht, 1, &name)==FAILURE) { WRONG_PARAM_COUNT; } convert_to_string(name); @@ -681,7 +681,7 @@ PHP_FUNCTION(posix_getgrgid) char **p; int count; - if (ARG_COUNT(ht) != 1 || getParameters(ht, 1, &gid)==FAILURE) { + if (ARG_COUNT(ht) != 1 || zend_get_parameters(ht, 1, &gid)==FAILURE) { WRONG_PARAM_COUNT; } convert_to_long(gid); @@ -713,7 +713,7 @@ PHP_FUNCTION(posix_getpwnam) pval *name; struct passwd *pw; - if (ARG_COUNT(ht) != 1 || getParameters(ht, 1, &name)==FAILURE) { + if (ARG_COUNT(ht) != 1 || zend_get_parameters(ht, 1, &name)==FAILURE) { WRONG_PARAM_COUNT; } convert_to_string(name); @@ -745,7 +745,7 @@ PHP_FUNCTION(posix_getpwuid) pval *uid; struct passwd *pw; - if (ARG_COUNT(ht) != 1 || getParameters(ht, 1, &uid)==FAILURE) { + if (ARG_COUNT(ht) != 1 || zend_get_parameters(ht, 1, &uid)==FAILURE) { WRONG_PARAM_COUNT; } convert_to_long(uid); |