BSON_READER_TELL(3)

NAME
bson_reader_tell()

SYNOPSIS
off_t
bson_reader_tell (bson_reader_t *reader);

PARAMETERS

.B 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.

COLOPHON
This page is part of libbson. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.