downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

shmop_delete> <共有メモリ関数
Last updated: Fri, 13 Nov 2009

view this page in

shmop_close

(PHP 4 >= 4.0.4, PHP 5)

shmop_close共有メモリブロックを閉じる

説明

void shmop_close ( int $shmid )

shmop_close() は共有メモリブロックを閉じるために 使用されます。

パラメータ

shmid

shmop_open() が作成した共有メモリブロックの識別子。

返り値

値を返しません。

例1 共有メモリブロックを閉じる

<?php
shmop_close
($shm_id);
?>

この例は、$shm_id を ID とする共有メモリブロックを閉じます。

参考

  • shmop_open() - 共有メモリブロックを作成またはオープンする



add a note add a note User Contributed Notes
shmop_close
slavapl at mailandnews dot com
02-May-2001 07:31
shmop_close doesn't delete the memory segment, it just detaches from it.

If you have created the block and need to delete it you must call shmop_delete **BEFORE** calling shmop_close (for reasons outlined in shmop_delete help page notes).

shmop_delete> <共有メモリ関数
Last updated: Fri, 13 Nov 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites