summaryrefslogtreecommitdiff
path: root/ext/sysvshm/sysvshm.c
diff options
context:
space:
mode:
authorEgon Schmid <eschmid@php.net>2000-07-10 20:00:02 +0000
committerEgon Schmid <eschmid@php.net>2000-07-10 20:00:02 +0000
commit96675e9d5839398e94e7bfd0ea461f17f2841e91 (patch)
treebc6574b598923253ad1fe60505af2afbe7518a9a /ext/sysvshm/sysvshm.c
parent6efcc501766c06d0579dfe79ccba0fc8880aa8c4 (diff)
downloadphp-git-96675e9d5839398e94e7bfd0ea461f17f2841e91.tar.gz
Changed the descriptions.
Diffstat (limited to 'ext/sysvshm/sysvshm.c')
-rw-r--r--ext/sysvshm/sysvshm.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/sysvshm/sysvshm.c b/ext/sysvshm/sysvshm.c
index 62fdc2e6bf..d3cb319d4b 100644
--- a/ext/sysvshm/sysvshm.c
+++ b/ext/sysvshm/sysvshm.c
@@ -76,7 +76,7 @@ PHP_MINIT_FUNCTION(sysvshm)
/* {{{ 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 @@ PHP_FUNCTION(shm_attach)
/* {{{ 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 @@ PHP_FUNCTION(shm_detach)
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 @@ PHP_FUNCTION(shm_remove)
/* {{{ 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 @@ PHP_FUNCTION(shm_put_var)
/* {{{ 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;