shm_close

(unknown)

shm_close -- Close shared memory block

Description

int shm_close (int shmid)

shm_close() is used to close a shared memory block.

shm_close() takes the shmid, which is the shared memory block identifier created by shm_open().

Example 1. Closing shared memory block


<?php
shm_close($shm_id);
?>
      

This example will close shared memory block identified by $shm_id.