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

search for in the

shmop_write> <shmop_read
Last updated: Fri, 10 Oct 2008

view this page in

shmop_size

(PHP 4 >= 4.0.4, PHP 5)

shmop_size共有メモリブロックの大きさを得る

説明

int shmop_size ( int $shmid )

shmop_size() は共有メモリブロックの大きさを 得るために使用されます。

パラメータ

shmid

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

返り値

共有メモリブロックが占有するバイト数を表す整数を返します。

例1 共有メモリブロックの大きさを得る

<?php
$shm_size 
shmop_size($shm_id);
?>

この例は、$shm_id を ID とする共有メモリブロックの 大きさを $shm_size に代入します。



add a note add a note User Contributed Notes
shmop_size
There are no user contributed notes for this page.

shmop_write> <shmop_read
Last updated: Fri, 10 Oct 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites