tor_stop

Function tor_stop 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn tor_stop( control_key: *mut c_char, ) -> *mut c_char
Expand description

Shutdown tor daemon. BETA: Careful with this.

ยงSafety

  • This function is unsafe because it dereferences and a returns raw pointer.
  • ENSURE that result is passed into cstring_free(ptr: *mut c_char) after use.