MySQL 9.4 C API Developer Guide / ... / C API Basic Interface / C API Basic Function Descriptions / mysql_field_seek()
MYSQL_FIELD_OFFSETmysql_field_seek(MYSQL_RES *result, MYSQL_FIELD_OFFSET offset) Sets the field cursor to the given offset. The next call tomysql_fetch_field() retrieves the field definition of the column associated with that offset.
To seek to the beginning of a row, pass anoffset value of zero.