1BSON_OID_COMPARE(3) Libbson BSON_OID_COMPARE(3)
2
3
4
6 bson_oid_compare - bson_oid_compare()
7
9 int
10 bson_oid_compare (const bson_oid_t *oid1, const bson_oid_t *oid2);
11
13 · oid1: A bson_oid_t.
14
15 · oid2: A bson_oid_t.
16
18 The bson_oid_compare() function shall return a qsort() style value of a
19 lexicographical sort of _oid1_ and _oid2_.
20
22 less than 0, 0, or greater than 0 based on the comparison.
23
25 MongoDB, Inc
26
28 2017-present, MongoDB, Inc
29
30
31
32
331.13.1 Jan 24, 2019 BSON_OID_COMPARE(3)