FreeBSD manual
download PDF document: mysql_row_seek.3.pdf
mysql_row_seek(3) MariaDB Connector/C mysql_row_seek(3)
Name
mysql_row_seek - Positions the row cursor to an arbitrary row
Synopsis
#include <mysql.h>
MYSQL_ROW_OFFSET mysql_row_seek(MYSQL_RES * result,
MYSQL_ROW_OFFSET offset);
Description
Positions the row cursor to an arbitrary row in a result set which was
obtained by mysql_store_result(3).
Parameter
o result - a result set identifier returned by mysql_store_result(3).
o offset - row offset. This value can be obtained either by
mysql_row_seek() or mysql_row_tell(3)
Notes
o This function will not work if the result set was obtained by
mysql_use_result(3).
Return value
Returns the previous row offset.
See also
o mysql_store_result(3)
o mysql_row_tell(3)
Version 3.3.1 mysql_row_seek(3)