riot_sys::bindgen

Function sema_post

Source
pub unsafe extern "C" fn sema_post(sema: *mut sema_t) -> c_int
Expand description

@brief Signal semaphore.

@pre (sema != NULL)

@param[in] sema A semaphore.

@return 0, on success @return -EOVERFLOW, if the semaphore’s value would overflow.