Gets a set of semaphores. This function is OpenVMS Alpha and Integrity servers only. Format #include <sem.h> int semget (key_t key, int nsems, int semflg);