cvs: php4 /ext/sysvshm sysvshm.c

From: Date: Mon, 10 Jul 2000 20:00:02 +0000
Subject: cvs: php4 /ext/sysvshm sysvshm.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-710@lists.php.net to get a copy of this message
eschmid Mon Jul 10 13:00:02 2000 EDT Modified files: /php4/ext/sysvshm sysvshm.c Log: Changed the descriptions. Index: php4/ext/sysvshm/sysvshm.c diff -u php4/ext/sysvshm/sysvshm.c:1.28 php4/ext/sysvshm/sysvshm.c:1.29 --- php4/ext/sysvshm/sysvshm.c:1.28 Mon Jul 10 12:46:29 2000 +++ php4/ext/sysvshm/sysvshm.c Mon Jul 10 13:00:02 2000 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: sysvshm.c,v 1.28 2000/07/10 19:46:29 eschmid Exp $ */ +/* $Id: sysvshm.c,v 1.29 2000/07/10 20:00:02 eschmid Exp $ */ /* This has been built and tested on Solaris 2.6. * It may not compile or execute correctly on other systems. @@ -76,7 +76,7 @@ /* {{{ proto int shm_attach(int key [, int memsize [, int perm]]) - Return an id for the shared memory with the given key */ + Creates or open a shared memory segment */ PHP_FUNCTION(shm_attach) { pval **arg_key,**arg_size,**arg_flag; @@ -151,7 +151,7 @@ /* {{{ proto int shm_detach(int shm_identifier) - Releases the shared memory attachment with the given id */ + Disconnects from shared memory segment */ PHP_FUNCTION(shm_detach) { pval **arg_id; @@ -170,8 +170,8 @@ RETURN_TRUE; } /* }}} */ -/* {{{ proto int shm_remove(int key) - Removes the shared memory with the given key */ +/* {{{ proto int shm_remove(int shm_identifier) + Removes shared memory from Unix systems */ PHP_FUNCTION(shm_remove) { pval **arg_key; @@ -202,7 +202,7 @@ /* {{{ proto int shm_put_var(int shm_identifier, int variable_key, mixed_variable) - Insert a variable into shared memory */ + Inserts or updates a variable in shared memory */ PHP_FUNCTION(shm_put_var) { pval **arg_id, **arg_key, **arg_var; @@ -249,7 +249,7 @@ /* {{{ proto mixed shm_get_var(int id, int variable_key) - Returns a variable into shared memory */ + Returns a variable from shared memory */ PHP_FUNCTION(shm_get_var) { pval **arg_id, **arg_key;

« previous php.cvs (#710) next »