bson_reader_tell(3) Tells the current position within the underlying stream.

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.

COLOPHON

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