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