[−][src]Function sdl2_sys::SDL_SemTryWait
pub unsafe extern "C" fn SDL_SemTryWait(sem: *mut SDL_sem) -> c_int
Non-blocking variant of SDL_SemWait().
\return 0 if the wait succeeds, ::SDL_MUTEX_TIMEDOUT if the wait would block, and -1 on error.