mysql_stmt_row_seek(3) MariaDB Connector/C mysql_stmt_row_seek(3)

mysql_stmt_row_seek - Positions row cursor.

#include <mysql.h>
MYSQL_ROW_OFFSET mysql_stmt_row_seek(MYSQL_STMT * stmt,
                                     MYSQL_ROW_OFFSET offset);

Positions the row cursor to an arbitrary row in a result set which was obtained by mysql_stmt_store_result(3).

stmt - a statement handle, which was previously allocated by mysql_stmt_init(3).
offset - row offset. This value can be obtained either by mysql_stmt_row_seek() or mysql_stmt_row_tell(3).

Returns the previous row offset.

The result set must be obtained by mysql_use_result(3).

mysql_stmt_row_tell(3)
mysql_stmt_store_result(3)
Version 3.4