cvs: php4 /ext/shmop shmop.c
| From: | Derick Rethans | Date: | Thu, 19 Oct 2000 23:14:51 +0000 |
| Subject: | cvs: php4 /ext/shmop shmop.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-2148@lists.php.net to get a copy of this message | ||
derick Thu Oct 19 16:14:51 2000 EDT
Modified files:
/php4/ext/shmop shmop.c
Log:
- Removed the shm_* aliases
@- Removed the shm_* aliases, only the smhop_* function wiil be
@ supported (Derick)
#I'll change the NEWS file as soon as it has been rebuild
Index: php4/ext/shmop/shmop.c
diff -u php4/ext/shmop/shmop.c:1.4 php4/ext/shmop/shmop.c:1.5
--- php4/ext/shmop/shmop.c:1.4 Thu Oct 19 15:50:41 2000
+++ php4/ext/shmop/shmop.c Thu Oct 19 16:14:51 2000
@@ -42,13 +42,6 @@
PHP_FE(shmop_size, NULL)
PHP_FE(shmop_write, NULL)
PHP_FE(shmop_delete, NULL)
-
- PHP_FALIAS(shm_open, shmop_open, NULL)
- PHP_FALIAS(shm_read, shmop_read, NULL)
- PHP_FALIAS(shm_close, shmop_close, NULL)
- PHP_FALIAS(shm_size, shmop_size, NULL)
- PHP_FALIAS(shm_write, shmop_write, NULL)
- PHP_FALIAS(shm_delete, shmop_delete, NULL)
{NULL, NULL, NULL} /* Must be the last line in shmop_functions[] */
};
@@ -95,7 +88,7 @@
}
/* {{{ proto int shmop_open (int key, int flags, int mode, int size)
- shmop_open - gets and attaches a shared memory segment */
+ gets and attaches a shared memory segment */
PHP_FUNCTION(shmop_open)
{
zval **key, **flags, **mode, **size;
@@ -162,7 +155,7 @@
/* {{{ proto string shmop_read (int shmid, int start, int count)
- shmop_read - reads from a shm segment */
+ reads from a shm segment */
PHP_FUNCTION(shmop_read)
{
zval **shmid, **start, **count;
@@ -214,7 +207,7 @@
/* {{{ proto void shmop_close (int shmid)
- shmop_close - closes a shared memory segment */
+ closes a shared memory segment */
PHP_FUNCTION(shmop_close)
{
zval **shmid;
@@ -239,7 +232,7 @@
/* {{{ proto int shmop_size (int shmid)
- shmop_size - returns the shm size */
+ returns the shm size */
PHP_FUNCTION(shmop_size)
{
zval **shmid;
@@ -265,7 +258,7 @@
/* {{{ proto int shmop_write (int shmid, string data, int offset)
- shmop_write - writes to a shared memory segment */
+ writes to a shared memory segment */
PHP_FUNCTION(shmop_write)
{
zval **shmid, **data, **offset;
@@ -302,7 +295,7 @@
/* {{{ proto bool shmop_delete (int shmid)
- shmop_delete - mark segment for deletion */
+ mark segment for deletion */
PHP_FUNCTION(shmop_delete)
{
zval **shmid;