---
name: "bson_reader_tell"
section: "3"
platform: "linux"
package: "libbson-doc"
version: "1.30.4-1+deb13u3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/bson_reader_tell"
---

# bson\_reader\_tell(3)

## SYNOPSIS

```
off_t
bson_reader_tell (bson_reader_t *reader);
```

## PARAMETERS

- •

  **reader**: A *bson\_reader\_t*.

## DESCRIPTION

Tells the current position within the underlying stream.

## RETURNS

\-1 on failure, otherwise the offset within the underlying stream.

## AUTHOR

MongoDB, Inc

## COPYRIGHT

2009-present, MongoDB, Inc.
