1mysql_data_seek(3) MariaDB Connector/C mysql_data_seek(3)
2
3
4
5 Name
6 mysql_data_seek - seeks to an offset
7
8 Synopsis
9 #include <mysql.h>
10
11 void mysql_data_seek(MYSQL_RES * result,
12 my_ulonglong offset);
13
14 Description
15 The mysql_data_seek() function seeks to an arbitrary function result
16 pointer specified by the offset in the result set. Returns zero on
17 success, nonzero if an error occurred.
18
19 Parameters
20 • result - a result set identifier returned by mysql_store_result().
21
22 • offset - the field offset. Must be between zero and the total number
23 of rows minus one (0..mysql_num_rows - 1).
24
25 Notes
26 This function can only be used with buffered result sets obtained from
27 the use of the mysql_store_result(3) function.
28
29 See also
30 • mysql_num_rows(3)
31
32 • mysql_store_result(3)
33
34
35
36Version 3.3.1 mysql_data_seek(3)