This function is declared in the kos/semaphore.h file.
kos/semaphore.h
Retcode KosSemaphoreTryWait(KosSemaphore *semaphore);
Attempts to acquire the defined semaphore.
semaphore
The function returns the following: