1mysql_fetch_field_direct(3) MariaDB Connector/C mysql_fetch_field_direct(3)
2
3
4
5 Name
6 mysql_fetch_field_direct - Returns a pointer to a MYSQL_FIELD structure
7
8 Synopsis
9 #include <mysql.h>
10
11 MYSQL_FIELD * mysql_fetch_field_direct(MYSQL_RES * res,
12 unsigned int fieldnr);
13
14 Description
15 Returns a pointer to a MYSQL_FIELD structure which contains field in‐
16 formation from the specified result set. ### Parameter * res - a re‐
17 sult set identifier returned by mysql_store_result(3) or mysql_use_re‐
18 sult(3). * fieldnr - the field number. This value must be within the
19 range from 0 to number of fields - 1 ### Notes * The total number of
20 fields can be obtained by mysql_field_count()
21
22 Return value
23 Pointer to a MYSQL_FIELD structure or NULL if an invalid field number
24 was specified
25
26 See also
27 • mysql_fetch_field(3)
28
29 • mysql_field_count(3)
30
31
32
33Version 3.2.2 mysql_fetch_field_direct(3)