I am running simple test program which is using SYSV shared memory. I found that sometime shmget() is returning the zero shmid, if requested shared memory segment is already exist. can anybody explain in which scenario shmaget() returns zero shmid ?
Thanks in advance.