.\" Automatically generated by Pandoc 2.5 .\" .TH "mysql_data_seek" "3" "" "Version 3.2.2" "MariaDB Connector/C" .hy .SS Name .PP mysql_data_seek \- seeks to an offset .SS Synopsis .IP .nf \f[C] #include 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]