.\" 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_PACK" "9" "09 October 2005" "" "" .SH NAME ib_pack \- Pack a structure into a buffer .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp void ib_pack (const struct ib_field * \fIdesc\fB, int \fIdesc_len\fB, void * \fIstructure\fB, void * \fIbuf\fB); \fR .SH "ARGUMENTS" .TP \fB\fIdesc\fB\fR Array of structure field descriptions .TP \fB\fIdesc_len\fB\fR Number of entries in \fIdesc\fR .TP \fB\fIstructure\fB\fR Structure to pack from .TP \fB\fIbuf\fB\fR Buffer to pack into .SH "DESCRIPTION" .PP \fBib_pack\fR packs a list of structure fields into a buffer, controlled by the array of fields in \fIdesc\fR\&.