mysql\_row\_tell(3) MariaDB Connector/C mysql\_row\_tell(3)

## [Name](#Name)

mysql\_row\_tell - Returns row offset of a result cursor

## [Synopsis](#Synopsis)

```
#include <mysql.h>
MYSQL_ROW_OFFSET mysql_row_tell(MYSQL_RES * res);
    
```

## [Description](#Description)

Returns the row offset of a result cursor. The returned offset value can be used to reposition the result cursor by calling [**mysql\_row\_seek(3)**](/man/enterprise-packages/mariadb-13.0/mysql_row_seek.3).

## [Parameter](#Parameter)

•

res - a result set identifier returned by [**mysql\_store\_result(3)**](/man/enterprise-packages/mariadb-13.0/mysql_store_result.3).

## [Notes](#Notes)

•

This function will not work if the result set was obtained by [**mysql\_use\_result(3)**](/man/enterprise-packages/mariadb-13.0/mysql_use_result.3).

## [See also](#See_also)

•

[**mysql\_store\_result(3)**](/man/enterprise-packages/mariadb-13.0/mysql_store_result.3)

•

[**mysql\_row\_seek(3)**](/man/enterprise-packages/mariadb-13.0/mysql_row_seek.3)

Version 3.4

---

Document: mysql_row_tell(3) from mariadb-13.0 13.0.2-r2 (Chainguard OS)
