Function ibverbs::ffi::ibv_get_device_list[][src]

pub unsafe extern "C" fn ibv_get_device_list(
    num_devices: *mut c_int
) -> *mut *mut ibv_device

ibv_get_device_list - Get list of IB devices currently available @num_devices: optional. if non-NULL, set to the number of devices returned in the array.

Return a NULL-terminated array of IB devices. The array can be released with ibv_free_device_list().