.\" Man page generated from reStructuredText. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "BSON_ITER_TIMESTAMP" "3" "Feb 22, 2024" "1.26.0" "libbson" .SH SYNOPSIS .INDENT 0.0 .INDENT 3.5 .sp .EX #define BSON_ITER_HOLDS_TIMESTAMP(iter) \e (bson_iter_type ((iter)) == BSON_TYPE_TIMESTAMP) void bson_iter_timestamp (const bson_iter_t *iter, uint32_t *timestamp, uint32_t *increment); .EE .UNINDENT .UNINDENT .SH PARAMETERS .INDENT 0.0 .IP \(bu 2 \fBiter\fP: A \fI\%bson_iter_t\fP\&. .IP \(bu 2 \fBtimestamp\fP: A uint32_t. .IP \(bu 2 \fBincrement\fP: A uint32_t. .UNINDENT .SH DESCRIPTION .sp The BSON_TYPE_TIMESTAMP type is not a date/time and is typically used for intra\-server communication. .sp You probably want \fI\%bson_iter_date_time()\fP\&. .sp The \fI\%bson_iter_timestamp()\fP function shall return the contents of a BSON_TYPE_TIMESTAMP element. It is invalid to call this function while observing an element that is not of type BSON_TYPE_TIMESTAMP. .SH AUTHOR MongoDB, Inc .SH COPYRIGHT 2017-present, MongoDB, Inc .\" Generated by docutils manpage writer. .