cvs: php4 /ext/posix posix.c
| From: | Derick Rethans | Date: | Thu, 08 Nov 2001 20:21:01 +0000 |
| Subject: | cvs: php4 /ext/posix posix.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-8100@lists.php.net to get a copy of this message | ||
derick Thu Nov 8 15:21:01 2001 EDT
Modified files:
/php4/ext/posix posix.c
Log:
- Prototypes
Index: php4/ext/posix/posix.c
diff -u php4/ext/posix/posix.c:1.36 php4/ext/posix/posix.c:1.37
--- php4/ext/posix/posix.c:1.36 Thu Oct 11 19:33:41 2001
+++ php4/ext/posix/posix.c Thu Nov 8 15:21:01 2001
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: posix.c,v 1.36 2001/10/11 23:33:41 ssb Exp $ */
+/* $Id: posix.c,v 1.37 2001/11/08 20:21:01 derick Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -132,7 +132,7 @@
static PHP_MINFO_FUNCTION(posix)
{
php_info_print_table_start();
- php_info_print_table_row(2, "Revision", "$Revision: 1.36 $");
+ php_info_print_table_row(2, "Revision", "$Revision: 1.37 $");
php_info_print_table_end();
}
/* }}} */
@@ -166,7 +166,7 @@
}
/* }}} */
-/* {{{ proto long posix_getpid(void)
+/* {{{ proto int posix_getpid(void)
Get the current process id (POSIX.1, 4.1.1) */
PHP_FUNCTION(posix_getpid)
{
@@ -177,7 +177,7 @@
}
/* }}} */
-/* {{{ proto long posix_getppid(void)
+/* {{{ proto int posix_getppid(void)
Get the parent process id (POSIX.1, 4.1.1) */
PHP_FUNCTION(posix_getppid)
{
@@ -188,7 +188,7 @@
}
/* }}} */
-/* {{{ proto long posix_getuid(void)
+/* {{{ proto int posix_getuid(void)
Get the current user id (POSIX.1, 4.2.1) */
PHP_FUNCTION(posix_getuid)
{
@@ -199,7 +199,7 @@
}
/* }}} */
-/* {{{ proto long posix_getgid(void)
+/* {{{ proto int posix_getgid(void)
Get the current group id (POSIX.1, 4.2.1) */
PHP_FUNCTION(posix_getgid)
{
@@ -210,7 +210,7 @@
}
/* }}} */
-/* {{{ proto long posix_geteuid(void)
+/* {{{ proto int posix_geteuid(void)
Get the current effective user id (POSIX.1, 4.2.1) */
PHP_FUNCTION(posix_geteuid)
{
@@ -221,7 +221,7 @@
}
/* }}} */
-/* {{{ proto long posix_getegid(void)
+/* {{{ proto int posix_getegid(void)
Get the current effective group id (POSIX.1, 4.2.1) */
PHP_FUNCTION(posix_getegid)
{
@@ -232,7 +232,7 @@
}
/* }}} */
-/* {{{ proto long posix_setuid(long uid)
+/* {{{ proto int posix_setuid(long uid)
Set user id (POSIX.1, 4.2.2) */
PHP_FUNCTION(posix_setuid)
{
@@ -257,7 +257,7 @@
}
/* }}} */
-/* {{{ proto long posix_setgid(long uid)
+/* {{{ proto int posix_setgid(long uid)
Set group id (POSIX.1, 4.2.2) */
PHP_FUNCTION(posix_setgid)
{
@@ -282,7 +282,7 @@
}
/* }}} */
-/* {{{ proto long posix_seteuid(long uid)
+/* {{{ proto int posix_seteuid(long uid)
Set effective user id */
PHP_FUNCTION(posix_seteuid)
{
@@ -311,7 +311,7 @@
}
/* }}} */
-/* {{{ proto long posix_setegid(long uid)
+/* {{{ proto int posix_setegid(long uid)
Set effective group id */
PHP_FUNCTION(posix_setegid)
{
@@ -340,7 +340,7 @@
}
/* }}} */
-/* {{{ proto long posix_getgroups(void)
+/* {{{ proto int posix_getgroups(void)
Get supplementary group id's (POSIX.1, 4.2.3) */
PHP_FUNCTION(posix_getgroups)
{
@@ -381,7 +381,7 @@
}
/* }}} */
-/* {{{ proto long posix_getpgrp(void)
+/* {{{ proto int posix_getpgrp(void)
Get current process group id (POSIX.1, 4.3.1) */
PHP_FUNCTION(posix_getpgrp)
{
@@ -392,7 +392,7 @@
}
/* }}} */
-/* {{{ proto long posix_setsid(void)
+/* {{{ proto int posix_setsid(void)
Create session and set process group id (POSIX.1, 4.3.2) */
PHP_FUNCTION(posix_setsid)
{
@@ -407,7 +407,7 @@
}
/* }}} */
-/* {{{ proto long posix_setpgid(long pid, long pgid)
+/* {{{ proto int posix_setpgid(long pid, long pgid)
Set process group id for job control (POSIX.1, 4.3.3) */
PHP_FUNCTION(posix_setpgid)
{
@@ -435,7 +435,7 @@
}
/* }}} */
-/* {{{ proto long posix_getpgid(void)
+/* {{{ proto int posix_getpgid(void)
Get the process group id of the specified process (This is not a POSIX function, but a SVR4ism,
so we compile conditionally) */
PHP_FUNCTION(posix_getpgid)
{
@@ -464,7 +464,7 @@
}
/* }}} */
-/* {{{ proto long posix_getsid(void)
+/* {{{ proto int posix_getsid(void)
Get process group id of session leader (This is not a POSIX function, but a SVR4ism, so be
compile conditionally) */
PHP_FUNCTION(posix_getsid)
{
@@ -922,7 +922,7 @@
#endif /* HAVE_GETRLIMIT */
-/* {{{ proto long posix_getrlimit(void)
+/* {{{ proto int posix_getrlimit(void)
Get system resource consumption limits (This is not a POSIX function, but a BSDism and a
SVR4ism. We compile conditionally) */
PHP_FUNCTION(posix_getrlimit)
{