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.