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