Function ucp_mem_query

Source
pub unsafe extern "C" fn ucp_mem_query(
    memh: ucp_mem_h,
    attr: *mut ucp_mem_attr_t,
) -> ucs_status_t
Expand description

@ingroup UCP_MEM @brief query mapped memory segment

This routine returns address and length of memory segment mapped with @ref ucp_mem_map “ucp_mem_map()” routine.

@param [in] memh @ref ucp_mem_h “Handle” to memory region. @param [out] attr Filled with attributes of the @ref ucp_mem_h “UCP memory handle”.

@return Error code as defined by @ref ucs_status_t