SHMDT
Detach a shared memory segment located at the address specified by ecx from the address space of the calling process. The to-be-detached segment must be currently attached with ecx equal to the value returned by the attaching SHMAT call. Arguments
ecx | Address of the process to be detached.
Return values If the function succeeds the return value is 0. If the function fails the return value is -EINVAL meaning that there is no shared memory segment attached at the address specified by ecx. Remarks n/a