---
name: "mysql_field_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_field_tell"
---

# mysql\_field\_tell(3)

### Name

mysql\_field\_tell - Returns offset of the field cursor

### Synopsis

-

  ```
  #include <mysql.h>
  MYSQL_FIELD_OFFSET mysql_field_tell(MYSQL_RES * result);
  ```

### Description

Return the offset of the field cursor used for the last **[mysql\_fetch\_field(3)](/mysql_fetch_field/3.md)** call. This value can be used as a parameter for the function **[mysql\_field\_seek(3)](/mysql_field_seek/3.md)**.

### Parameter

- •

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

### Return value

Returns the current offset of the field cursor

### See also

- •

  **[mysql\_field\_seek(3)](/mysql_field_seek/3.md)**
