CVS update: php3/functions
| From: | eschmid | Date: | Wed, 06 Jan 1999 18:27:06 +0000 |
| Subject: | CVS update: php3/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-3344@lists.php.net to get a copy of this message | ||
Date: Wednesday January 6, 1999 @ 13:27
Author: eschmid
Update of /repository/php3/functions
In directory asf:/u/temp/cvs-serv10848/functions
Modified Files:
sysvshm.c
Log Message:
Updated prototypes.
Index: php3/functions/sysvshm.c
diff -c php3/functions/sysvshm.c:1.7 php3/functions/sysvshm.c:1.8
*** php3/functions/sysvshm.c:1.7 Mon Jan 4 13:13:30 1999
--- php3/functions/sysvshm.c Wed Jan 6 13:27:05 1999
***************
*** 27,33 ****
+----------------------------------------------------------------------+
*/
! /* $Id: sysvshm.c,v 1.7 1999/01/04 18:13:30 rasmus Exp $ */
/* This has been built and tested on Solaris 2.6.
* It may not compile or execute correctly on other systems.
--- 27,33 ----
+----------------------------------------------------------------------+
*/
! /* $Id: sysvshm.c,v 1.8 1999/01/06 18:27:05 eschmid Exp $ */
/* This has been built and tested on Solaris 2.6.
* It may not compile or execute correctly on other systems.
***************
*** 91,98 ****
}
! /* {{{ proto int shm_attach(int key, int size, int flag)
! Return an id for the shared memory with the given key. */
void php3_sysvshm_attach(INTERNAL_FUNCTION_PARAMETERS)
{
pval *arg_key,*arg_size,*arg_flag;
--- 91,98 ----
}
! /* {{{ proto int shm_attach(int key, int memsize, int perm)
! Creates or open a shared memory segment. */
void php3_sysvshm_attach(INTERNAL_FUNCTION_PARAMETERS)
{
pval *arg_key,*arg_size,*arg_flag;
***************
*** 182,190 ****
/* }}} */
!
! /* {{{ proto int shm_detach(int id)
! releases the shared memory attachment with the given id. */
void php3_sysvshm_detach(INTERNAL_FUNCTION_PARAMETERS)
{
pval *arg_id;
--- 182,189 ----
/* }}} */
! /* {{{ proto int shm_detach(int shm_identifier)
! Disconnects from shared memory segment. */
void php3_sysvshm_detach(INTERNAL_FUNCTION_PARAMETERS)
{
pval *arg_id;
***************
*** 219,230 ****
}
/* }}} */
-
-
-
! /* {{{ proto int shm_remove(int key)
! removes the shared memory with the given key. */
void php3_sysvshm_remove(INTERNAL_FUNCTION_PARAMETERS)
{
pval *arg_key;
--- 218,226 ----
}
/* }}} */
! /* {{{ proto int shm_remove(int shm_identifier)
! Removes shared memory from Unix systems. */
void php3_sysvshm_remove(INTERNAL_FUNCTION_PARAMETERS)
{
pval *arg_key;
***************
*** 260,267 ****
! /* {{{ proto int shm_put_var(int id, int key, object *variable)
! insert a variable into shared memory. */
void php3_sysvshm_put_var(INTERNAL_FUNCTION_PARAMETERS)
{
pval *arg_id, *arg_key, *arg_var;
--- 256,263 ----
! /* {{{ proto int shm_put_var(int shm_identifier, int variable_key, mixed variable)
! Inserts or updates a variable in shared memory. */
void php3_sysvshm_put_var(INTERNAL_FUNCTION_PARAMETERS)
{
pval *arg_id, *arg_key, *arg_var;
***************
*** 315,322 ****
! /* {{{ proto string/float/int/array shm_get_var(int id, int key)
! returns a variable into shared memory. */
void php3_sysvshm_get_var(INTERNAL_FUNCTION_PARAMETERS)
{
pval *arg_id, *arg_key;
--- 311,318 ----
! /* {{{ proto mixed shm_get_var(int id, int variable_key)
! Returns a variable from shared memory. */
void php3_sysvshm_get_var(INTERNAL_FUNCTION_PARAMETERS)
{
pval *arg_id, *arg_key;
***************
*** 366,373 ****
}
/* }}} */
! /* {{{ proto int shm_remove_var(int id, int key)
! removes variable from shared memory. */
void php3_sysvshm_remove_var(INTERNAL_FUNCTION_PARAMETERS)
{
pval *arg_id, *arg_key;
--- 362,369 ----
}
/* }}} */
! /* {{{ proto int shm_remove_var(int id, int variable_key)
! Removes variable from shared memory. */
void php3_sysvshm_remove_var(INTERNAL_FUNCTION_PARAMETERS)
{
pval *arg_id, *arg_key;
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net