Skip to main content

rust_restricted_state_create

Function rust_restricted_state_create 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn rust_restricted_state_create( exception_report_ptr: *mut zx_exception_report_t, out_ptr: *mut *mut RestrictedState, ) -> zx_status_t
Expand description

Create a new RestrictedState and write its raw pointer into out_ptr.

ยงSafety

Caller must ensure out_ptr is a valid pointer for writing *mut RestrictedState.