[][src]Function dqcsim::bindings::dqcs_plugin_random_u64

#[no_mangle]pub extern "C" fn dqcs_plugin_random_u64(
    plugin: dqcs_plugin_state_t
) -> dqcs_handle_t

Generates a random unsigned 64-bit number using the simulator random seed.

This function only fails if the plugin handle is invalid, in which case it returns 0. Of course, 0 is also a valid (if rare) random return value.