.\" Automatically generated by Pandoc 3.1.8 .\" .TH "IBV_GET_SRQ_NUM" "3" "2013-06-26" "libibverbs" "Libibverbs Programmer\[cq]s Manual" .SH NAME ibv_get_srq_num - return srq number associated with the given shared receive queue (SRQ) .SH SYNOPSIS .IP .EX #include int ibv_get_srq_num(struct ibv_srq *srq, uint32_t *srq_num); .EE .SH DESCRIPTION \f[B]ibv_get_srq_num()\f[R] return srq number associated with the given XRC shared receive queue The argument \f[I]srq\f[R] is an ibv_srq struct, as defined in . \f[I]srq_num\f[R] is an output parameter that holds the returned srq number. .SH RETURN VALUE \f[B]ibv_get_srq_num()\f[R] returns 0 on success, or the value of errno on failure (which indicates the failure reason). .SH SEE ALSO \f[B]ibv_alloc_pd\f[R](3), \f[B]ibv_create_srq_ex\f[R](3), \f[B]ibv_modify_srq\f[R](3) .SH AUTHOR Yishai Hadas