---
name: "mysql_row_tell"
section: "3"
platform: "linux"
package: "mariadb"
version: "13.0.2-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/mysql_row_tell"
---

# mysql\_row\_tell(3)

### Name

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

### Synopsis

-

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

### 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)](/mysql_row_seek/3.md)**.

### Parameter

- •

  `res` - a result set identifier returned by **[mysql\_store\_result(3)](/mysql_store_result/3.md)**.

### Notes

- •

  This function will not work if the result set was obtained by **[mysql\_use\_result(3)](/mysql_use_result/3.md)**.

### See also

- •

  **[mysql\_store\_result(3)](/mysql_store_result/3.md)**

- •

  **[mysql\_row\_seek(3)](/mysql_row_seek/3.md)**
