Contents:
Defined in File csem.h
Wait on (lock) a counting semaphore.
sem – The semaphore handle.
status_t.