when does shmget() returns zero shmid?

1.1k Views Asked by At

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.

0

There are 0 best solutions below