summaryrefslogtreecommitdiff
path: root/ext/sysvshm
diff options
context:
space:
mode:
authorEgon Schmid <eschmid@php.net>2000-07-10 19:46:29 +0000
committerEgon Schmid <eschmid@php.net>2000-07-10 19:46:29 +0000
commit6efcc501766c06d0579dfe79ccba0fc8880aa8c4 (patch)
tree98ec18ae70353452fb5830f57c70976717c0eb62 /ext/sysvshm
parent42693bb820320c2fcafbcfe9a999e768a407f05c (diff)
downloadphp-git-6efcc501766c06d0579dfe79ccba0fc8880aa8c4.tar.gz
Changed some protos and the authors email address.
Diffstat (limited to 'ext/sysvshm')
-rw-r--r--ext/sysvshm/php_sysvshm.h2
-rw-r--r--ext/sysvshm/sysvshm.c14
2 files changed, 7 insertions, 9 deletions
diff --git a/ext/sysvshm/php_sysvshm.h b/ext/sysvshm/php_sysvshm.h
index 6536255d8b..8b9ab8cac0 100644
--- a/ext/sysvshm/php_sysvshm.h
+++ b/ext/sysvshm/php_sysvshm.h
@@ -23,7 +23,7 @@
| If you did not, or have any questions about PHP licensing, please |
| contact core@php.net. |
+----------------------------------------------------------------------+
- | Authors: Christian Cartus <chc@idgruppe.de> |
+ | Authors: Christian Cartus <cartus@atrior.de> |
+----------------------------------------------------------------------+
*/
diff --git a/ext/sysvshm/sysvshm.c b/ext/sysvshm/sysvshm.c
index 0c7fe9c435..62fdc2e6bf 100644
--- a/ext/sysvshm/sysvshm.c
+++ b/ext/sysvshm/sysvshm.c
@@ -12,7 +12,7 @@
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
- | Authors: Christian Cartus <chc@idgruppe.de> |
+ | Authors: Christian Cartus <cartus@atrior.de> |
+----------------------------------------------------------------------+
*/
@@ -75,7 +75,7 @@ PHP_MINIT_FUNCTION(sysvshm)
}
-/* {{{ proto int shm_attach(int key, int size, int flag)
+/* {{{ proto int shm_attach(int key [, int memsize [, int perm]])
Return an id for the shared memory with the given key */
PHP_FUNCTION(shm_attach)
{
@@ -150,7 +150,7 @@ PHP_FUNCTION(shm_attach)
-/* {{{ proto int shm_detach(int id)
+/* {{{ proto int shm_detach(int shm_identifier)
Releases the shared memory attachment with the given id */
PHP_FUNCTION(shm_detach)
{
@@ -201,7 +201,7 @@ PHP_FUNCTION(shm_remove)
-/* {{{ proto int shm_put_var(int id, int key, object *variable)
+/* {{{ proto int shm_put_var(int shm_identifier, int variable_key, mixed_variable)
Insert a variable into shared memory */
PHP_FUNCTION(shm_put_var)
{
@@ -248,9 +248,7 @@ PHP_FUNCTION(shm_put_var)
/* }}} */
-
-
-/* {{{ proto string/float/int/array shm_get_var(int id, int key)
+/* {{{ proto mixed shm_get_var(int id, int variable_key)
Returns a variable into shared memory */
PHP_FUNCTION(shm_get_var)
{
@@ -295,7 +293,7 @@ PHP_FUNCTION(shm_get_var)
}
/* }}} */
-/* {{{ proto int shm_remove_var(int id, int key)
+/* {{{ proto int shm_remove_var(int id, variable_key)
Removes variable from shared memory */
PHP_FUNCTION(shm_remove_var)
{