bson_iter_timeval (3) - Linux Manuals

bson_iter_timeval: The bson_iter_timeval() function shall return the number of seconds and microseconds since the UNIX epoch, as contained in the BSON_TYPE_DATE_TIME element into tv.

NAME

bson_iter_timeval() - The bson_iter_timeval() function shall return the number of seconds and microseconds since the UNIX epoch, as contained in the BSON_TYPE_DATE_TIME element into tv.

SYNOPSIS

void
bson_iter_timeval (const bson_iter_t *iter,
                   struct timeval    *tv);

PARAMETERS

iter
A bson_iter_t \&.

tv
A struct timeval.

DESCRIPTION

The bson_iter_timeval(3) function shall return the number of seconds and microseconds since the UNIX epoch, as contained in the BSON_TYPE_DATE_TIME element into tv \&.

COLOPHON

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