Skip to main content

syd_lock

Function syd_lock 

Source
#[unsafe(no_mangle)]
pub extern "C" fn syd_lock(state: lock_state_t) -> c_int
Expand description

Sets the state of the sandbox lock.

state: The desired state of the sandbox lock.

Returns 0 on success, negated errno on failure.