This function is declared in the kos/semaphore.h file.
kos/semaphore.h
Retcode KosSemaphoreWait(KosSemaphore *semaphore);
Waits for acquisition of the defined semaphore.
semaphore
The function returns the following: