diff options
author | foobar <sniper@php.net> | 2005-05-09 12:16:11 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2005-05-09 12:16:11 +0000 |
commit | 9ae244bca83144ba802d2832088fc509b0772877 (patch) | |
tree | 12c0ab6ec0756e1b6cadbfdfa98df23406aa7a08 /ext/posix/php_posix.h | |
parent | 5493a5af6b0f86c8bb6677960bb6df7a965c2a87 (diff) | |
download | php-git-9ae244bca83144ba802d2832088fc509b0772877.tar.gz |
MFH: - getlogin() / getgroups() are not necessarily available everywhere
Diffstat (limited to 'ext/posix/php_posix.h')
-rw-r--r-- | ext/posix/php_posix.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/posix/php_posix.h b/ext/posix/php_posix.h index 1970c2dab9..4defff806e 100644 --- a/ext/posix/php_posix.h +++ b/ext/posix/php_posix.h @@ -54,8 +54,12 @@ PHP_FUNCTION(posix_seteuid); #ifdef HAVE_SETEGID PHP_FUNCTION(posix_setegid); #endif +#ifdef HAVE_GETGROUPS PHP_FUNCTION(posix_getgroups); +#endif +#ifdef HAVE_GETLOGIN PHP_FUNCTION(posix_getlogin); +#endif /* POSIX.1, 4.3 */ PHP_FUNCTION(posix_getpgrp); |