.\" Automatically generated by Pandoc 2.5 .\" .TH "mysql_num_fields" "3" "" "Version 3.2.2" "MariaDB Connector/C" .hy .SS Name .PP mysql_num_fields \- Returns number of fields in a result set .SS Synopsis .IP .nf \f[C] #include unsigned int mysql_num_fields(MYSQL_RES * ); \f[R] .fi .SS Description .PP Returns number of fields in a specified result set. .SS Parameter .IP \[bu] 2 \f[C]MYSQL RES *\f[R] \- A result set identifier returned by \f[B]mysql_store_result(3)\f[R] or \f[B]mysql_use_result(3)\f[R]. .SS Return value .PP Returns number of fields. .SS See also .IP \[bu] 2 \f[B]mysql_fetch_field(3)\f[R] .IP \[bu] 2 \f[B]mysql_field_count(3)\f[R]