void mysql_data_seek(MYSQL_RES * result,
my_ulonglong offset);
result
- a result set identifier returned by mysql_store_result().
offset
- the field offset. Must be between zero and the total number of rows minus one (0..mysql_num_rows - 1).
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.