Does a call to semget() result in the creation of a unique file somewhere in the filesystem? I’m attempting to use a semaphore as the key to a shared memory segment and thought ftok() might be a viable option.
Does a call to semget() result in the creation of a unique file somewhere
Share
No. System V IPC objects (semaphores, message queues, and shared memory) exist in a separate namespace from the filesystem.