cvs: /php4/ext/sysvsem sysvsem.c /php4/ext/sysvshm sysvshm.c

From: Date: Thu, 24 Feb 2000 14:32:19 +0000
Subject: cvs: /php4/ext/sysvsem sysvsem.c /php4/ext/sysvshm sysvshm.c
Groups: php.version4 
Request: Send a blank email to php-version4+get-10843@lists.php.net to get a copy of this message
eschmid Thu Feb 24 06:32:19 2000 EDT Modified files: /php4/ext/sysvsem sysvsem.c /php4/ext/sysvshm sysvshm.c Log: More protos. Index: php4/ext/sysvsem/sysvsem.c diff -u php4/ext/sysvsem/sysvsem.c:1.16 php4/ext/sysvsem/sysvsem.c:1.17 --- php4/ext/sysvsem/sysvsem.c:1.16 Sat Feb 19 15:41:22 2000 +++ php4/ext/sysvsem/sysvsem.c Thu Feb 24 06:31:48 2000 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: sysvsem.c,v 1.16 2000/02/19 23:41:22 zeev Exp $ */ +/* $Id: sysvsem.c,v 1.17 2000/02/24 14:31:48 eschmid Exp $ */ /* This has been built and tested on Solaris 2.6 and Linux 2.1.122. * It may not compile or execute correctly on other systems. @@ -128,7 +128,7 @@ #endif /* {{{ proto int sem_get(int key [, int max_acquire [, int perm]]) - Return an id for the semaphore with the given key, and allow max_acquire (default 1) processes to acquire it simultaneously. */ + Return an id for the semaphore with the given key, and allow max_acquire (default 1) processes to acquire it simultaneously */ PHP_FUNCTION(sem_get) { pval **arg_key, **arg_max_acquire, **arg_perm; @@ -329,7 +329,7 @@ /* {{{ proto int sem_acquire(int id) - Acquires the semaphore with the given id, blocking if necessary. */ + Acquires the semaphore with the given id, blocking if necessary */ PHP_FUNCTION(sem_acquire) { php_sysvsem_semop(INTERNAL_FUNCTION_PARAM_PASSTHRU, 1); @@ -337,7 +337,7 @@ /* }}} */ /* {{{ proto int sem_release(int id) - Releases the semaphore with the given id. */ + Releases the semaphore with the given id */ PHP_FUNCTION(sem_release) { php_sysvsem_semop(INTERNAL_FUNCTION_PARAM_PASSTHRU, 0); Index: php4/ext/sysvshm/sysvshm.c diff -u php4/ext/sysvshm/sysvshm.c:1.18 php4/ext/sysvshm/sysvshm.c:1.19 --- php4/ext/sysvshm/sysvshm.c:1.18 Sat Feb 19 15:41:23 2000 +++ php4/ext/sysvshm/sysvshm.c Thu Feb 24 06:31:48 2000 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: sysvshm.c,v 1.18 2000/02/19 23:41:23 zeev Exp $ */ +/* $Id: sysvshm.c,v 1.19 2000/02/24 14:31:48 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 size, int flag) - Return an id for the shared memory with the given key. */ + Return an id for the shared memory with the given key */ PHP_FUNCTION(shm_attach) { pval **arg_key,**arg_size,**arg_flag; @@ -151,7 +151,7 @@ /* {{{ proto int shm_detach(int id) - releases the shared memory attachment with the given id. */ + Releases the shared memory attachment with the given id */ PHP_FUNCTION(shm_detach) { pval **arg_id; @@ -171,7 +171,7 @@ } /* }}} */ /* {{{ proto int shm_remove(int key) - removes the shared memory with the given key. */ + Removes the shared memory with the given key */ PHP_FUNCTION(shm_remove) { pval **arg_key; @@ -202,7 +202,7 @@ /* {{{ proto int shm_put(int id, int key, object *variable) - insert a variable into shared memory. */ + Insert a variable into shared memory */ PHP_FUNCTION(shm_put_var) { pval **arg_id, **arg_key, **arg_var; @@ -251,7 +251,7 @@ /* {{{ proto string/float/int/array shm_get_var(int id, int key) - returns a variable into shared memory. */ + Returns a variable into shared memory */ PHP_FUNCTION(shm_get_var) { pval **arg_id, **arg_key; @@ -296,7 +296,7 @@ /* }}} */ /* {{{ proto int shm_remove_var(int id, int key) - removes variable from shared memory. */ + Removes variable from shared memory */ PHP_FUNCTION(shm_remove_var) { pval **arg_id, **arg_key; @@ -330,11 +330,6 @@ RETURN_TRUE; } /* }}} */ - - - - - /* inserts an ascii-string into shared memory */

« previous php.version4 (#10843) next »