shm_delete

(unknown)

shm_delete -- Delete shared memory block

Description

int shm_delete (int shmid)

shm_delete() is used to delete a shared memory block.

shm_delete() takes the shmid, which is the shared memory block identifier created by shm_open(). On success 1 is returned, on failure 0 is returned.

Example 1. Deleting shared memory block


<?php
shm_delete($shm_id);
?>
      

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