BSON_ITER_TIMEVAL(3)
π BSON_ITER_TIMEVAL(3) β like, the libbson manual, bestie
okay so welcome to the BSON_ITER_TIMEVAL page, part of the libbson manual, and honestly? she's short, she's sweet, she gets straight to the point. no notes. π
β¨ SYNOPSIS β¨
void
bson_iter_timeval (const bson_iter_t *iter, struct timeval *tv);
that's it. that's the whole vibe. two params, no return value, in and out. π«Ά
πΈ PARAMETERS πΈ
iterβ abson_iter_t. like, the iterator. the main character. πtvβ astruct timeval. this is where the good stuff lands, bestie. β¨
π DESCRIPTION π
so 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, straight into tv. π°οΈπ«
the way that it just hands you seconds and microseconds like thatβ¦ iconic. no cap. the epoch is literally the starting line and this function is out here telling you how far we've run. ππ₯
ngl, tv is where the output goes, so likeβ¦ don't sleep on it. that's the whole point of the parameter. π
π AUTHOR π
MongoDB, Inc. shoutout to the squad. π«‘π
π COPYRIGHT π
2009-present, MongoDB, Inc. β yeah, they've been at this a minute. respect. π
and that's the whole page, bestie!! π
β¨ this lil' slice of the manual is libbson 2.5.6, dated Oct 09, 2026 β go forth and read your struct timevals with confidence, mwah ππ¦π
π¦ where this page comes from
- epel 10: libbson-devel 2.5.6-1.el10_3 Β· Apache-2.0 AND ISC AND MIT AND Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms