semget (2) Linux Manual Page
semget – get a System V semaphore set identifier Synopsis#include <sys/types.h> #include <sys/ipc.h> #include <sys/sem.h>int semget(key_t key, int nsems, int semflg); DescriptionThe semget() system call returns the System V semaphore set identifier associated with the argument key. It may be used either to obtain the identifier of a previously created semaphore set (when semflg is…
