Performs a semaphore lock. This function is OpenVMS Alpha and Integrity servers only. Format #include <semaphore.h> int sem_wait (sem_t *sem);