sem_open
sem_t *sem_open(const char *, int, ...);
__weak_alias(sem_open,_librt_sem_open)
semp = sem_open("/foo", O_CREAT | O_EXCL, 0644, 0);
sem_a = sem_open("/sem_a", O_CREAT | O_EXCL, 0644, 0);
sem = sem_open("/sem_c", O_CREAT | O_EXCL, 0644, 0);
sem = sem_open("/sem_d", O_CREAT | O_EXCL, 0777, 0);
sem2 = sem_open("/sem_d", O_CREAT | O_EXCL, 0777, 0);
sem3 = sem_open("/sem_d", 0);
sem_b = sem_open("/sem_b", O_CREAT | O_EXCL, 0644, 0);
sem1 = sem_open(SEM1, 0);
sem1 = sem_open(SEM1, O_CREAT, 0444, 1);
rv = sem_open(SEM1, O_CREAT | O_EXCL);
sem2 = sem_open(SEM2, O_CREAT, 0444, 0);
sem = sem_open(SEM, O_CREAT, 0444, 0);