---
name: "mysql_stmt_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_stmt_row_tell"
---

# mysql\_stmt\_row\_tell(3)

### Name

mysql\_stmt\_row\_tell - Returns position of row cursor

### Synopsis

-

  ```
  #include <mysql.h>
  MYSQL_ROW_OFFSET mysql_stmt_row_tell(MYSQL_STMT * stmt);
  ```

### Description

Returns the row offset of a result cursor. The returned offset value can be used to reposition the result cursor by calling **[mysql\_stmt\_row\_seek(3)](/mysql_stmt_row_seek/3.md)**.

### Parameter

- •

  `stmt` - a statement handle, which was previously allocated by **[mysql\_stmt\_init(3)](/mysql_stmt_init/3.md)**.

### Return value

Returns the current position of the row cursor.

### Notes

- •

  This function can be used for buffered result sets only, which can be obtained by executing the **[mysql\_stmt\_store\_result(3)](/mysql_stmt_store_result/3.md)** function.

### See Also

- •

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

- •

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