.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "IB_QUERY_DEVICE" "9" "09 October 2005" "" "" .SH NAME ib_query_device \- Query IB device attributes .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int ib_query_device (struct ib_device * \fIdevice\fB, struct ib_device_attr * \fIdevice_attr\fB); \fR .SH "ARGUMENTS" .TP \fB\fIdevice\fB\fR Device to query .TP \fB\fIdevice_attr\fB\fR Device attributes .SH "DESCRIPTION" .PP \fBib_query_device\fR returns the attributes of a device through the \fIdevice_attr\fR pointer.