1mysql_num_fields(3) MariaDB Connector/C mysql_num_fields(3)
2
3
4
5 Name
6 mysql_num_fields - Returns number of fields in a result set
7
8 Synopsis
9 #include <mysql.h>
10
11 unsigned int mysql_num_fields(MYSQL_RES * );
12
13 Description
14 Returns number of fields in a specified result set.
15
16 Parameter
17 • MYSQL RES * - A result set identifier returned by mysql_store_re‐
18 sult(3) or mysql_use_result(3).
19
20 Return value
21 Returns number of fields.
22
23 See also
24 • mysql_fetch_field(3)
25
26 • mysql_field_count(3)
27
28
29
30Version 3.3.1 mysql_num_fields(3)