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