Function hermit_abi::sem_init
source · pub unsafe extern "C" fn sem_init(
sem: *mut *const c_void,
value: u32
) -> i32
Expand description
sem_init() initializes the unnamed semaphore at the address
pointed to by sem
. The value
argument specifies the
initial value for the semaphore.