1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-08 14:02:17 +03:00
Files
mariadb-connector-c/man/mysql_data_seek.3
2024-10-25 07:38:00 +02:00

34 lines
966 B
Groff

.\" Automatically generated by Pandoc 3.5
.\"
.TH "mysql_data_seek" "3" "" "Version 3.3" "MariaDB Connector/C"
.SS Name
mysql_data_seek \- seeks to an offset
.SS Synopsis
.IP
.EX
#include \f[B]<mysql.h>\f[R]
void mysql_data_seek(MYSQL_RES * result,
my_ulonglong offset);
.EE
.SS Description
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[CR]result\f[R] \- a result set identifier returned by
mysql_store_result().
.IP \[bu] 2
\f[CR]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
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]