]> granicus.if.org Git - php/commitdiff
Changed some protos and the authors email address.
authorEgon Schmid <eschmid@php.net>
Mon, 10 Jul 2000 19:46:29 +0000 (19:46 +0000)
committerEgon Schmid <eschmid@php.net>
Mon, 10 Jul 2000 19:46:29 +0000 (19:46 +0000)
ext/sysvshm/php_sysvshm.h
ext/sysvshm/sysvshm.c

index 6536255d8b653239eec0710c2508d7d81db3b128..8b9ab8cac01729a942ec8e4b40cf45165fb6c28d 100644 (file)
@@ -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>                         |
    +----------------------------------------------------------------------+
  */
 
index 0c7fe9c435a2018f7cb94f7cc29d3c0b36bde524..62fdc2e6bf03ab51d7d8cf184edd321ca7868b22 100644 (file)
@@ -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)
 {