shmdt
Detach shared memory block.
Declaration
Source position: ipc.pp line 419
function shmdt(shmaddr: pointer) : cint;
Description
shmdt detaches the shared memory at address shmaddr. This shared memory block is unavailable to the current process, until it is attached again by a call to shmat .
The function returns True if the memory block was detached successfully, False otherwise.
Errors
On error, False is returned, and IPCerror is set.
See also
Name | Description |
---|---|
shmat | Attach a shared memory block. |
shmctl | Perform control operations on a shared memory block. |
shmget | Return the ID of a shared memory block, possibly creating it |