int shmdt(const void *shmaddr);
The shmdt() function
detaches from the calling process's data segment the shared
memory segment located at the address specified by shmaddr.
Is the data segment start address of a shared memory segment.
If successful, shmdt() decrements the
shm_nattach associated with the shared memory segment and
returns zero. On failure, it returns -1 and set errno to one
of the following values:
shmaddr is not the data
segment start address of a shared memory segment.
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
- shmat(), shmctl(), shmget()
PTC MKS Toolkit 10.3 Documentation Build 39.