diff options
Diffstat (limited to 'libmariadb/man/mysql_data_seek.3')
-rw-r--r-- | libmariadb/man/mysql_data_seek.3 | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/libmariadb/man/mysql_data_seek.3 b/libmariadb/man/mysql_data_seek.3 new file mode 100644 index 00000000..7b4f0555 --- /dev/null +++ b/libmariadb/man/mysql_data_seek.3 @@ -0,0 +1,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] |