---
name: "mdb_cursor"
section: "3"
platform: "linux"
package: "lmdb-doc"
version: "0.9.31-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/mdb_cursor"
---

# mdb\_cursor(3)

Cursor Flags

## NAME

mdb\_cursor - Cursor Flags

## SYNOPSIS

### Macros

\#define **C\_INITIALIZED**   0x01\
 \#define **C\_EOF**   0x02\
 \#define **C\_SUB**   0x04\
 \#define **C\_DEL**   0x08\
 \#define **C\_UNTRACK**   0x40\

## Detailed Description

Cursor state flags.

## Macro Definition Documentation

### #define C\_INITIALIZED 0x01

cursor has been initialized and is valid

### #define C\_EOF 0x02

No more data

### #define C\_SUB 0x04

Cursor is a sub-cursor

### #define C\_DEL 0x08

last op was a cursor\_del

### #define C\_UNTRACK 0x40

Un-track cursor when closing

## Author

Generated automatically by Doxygen for LMDB from the source code.
