MySQL 9.3 C API Developer Guide / ... / C API Basic Interface / C API Basic Function Descriptions / mysql_row_tell()
MYSQL_ROW_OFFSETmysql_row_tell(MYSQL_RES *result) Returns the current position of the row cursor for the lastmysql_fetch_row(). This value can be used as an argument tomysql_row_seek().
Usemysql_row_tell() only aftermysql_store_result(), not aftermysql_use_result().