1#include <semaphore.h>
2
3int sem_wait(sem_t *sem)
4{
5	return sem_timedwait(sem, 0);
6}
7