Initializes an unnamed semaphore. This function is supported on OpenVMS Integrity servers and Alpha only. Format #include <semaphore.h> int sem_init (sem_t *sem, int pshared, unsigned int value );