calog/vendor/mariadb/man/mysql_data_seek.3

33 lines
966 B
Groff
Vendored

.\" Automatically generated by Pandoc 3.5
.\"
.TH "mysql_data_seek" "3" "" "Version 3.4" "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]