sem_init()
#include <semaphore.h>
int sem_init(sem_t *sem, int pshared, unsigned int value);
SEE ALSO sem_destroy(3), sem_post(3), sem_wait(3), sem_overview(7)