1BSON_OID_COMPARE(3)                 Libbson                BSON_OID_COMPARE(3)
2
3
4

NAME

6       bson_oid_compare - bson_oid_compare()
7

SYNOPSIS

9          int
10          bson_oid_compare (const bson_oid_t *oid1, const bson_oid_t *oid2);
11

PARAMETERS

13       · oid1: A bson_oid_t.
14
15       · oid2: A bson_oid_t.
16

DESCRIPTION

18       The bson_oid_compare() function shall return a qsort() style value of a
19       lexicographical sort of oid1 and oid2.
20

RETURNS

22       less than 0, 0, or greater than 0 based on the comparison.
23

AUTHOR

25       MongoDB, Inc
26
28       2017-present, MongoDB, Inc
29
30
31
32
331.14.0                           Feb 22, 2019              BSON_OID_COMPARE(3)
Impressum