sem_getvalue

get the value of a semaphore

WAIT

Y U NO ADD EXAMPLE