AUPARSE_TIMESTAMP_COMPARE(3)
π AUPARSE_TIMESTAMP_COMPARE π
okay bestie, welcome to the auparse_timestamp_compare page from the Linux Audit API β yes that whole family of auparse girls, and this one is a tiny little queen whose whole job is comparing timestamps β¨
β¨ NAME β¨
auparse_timestamp_compare β literally just compares timestamp values, that's the whole gig π
π¦ SYNOPSIS π¦
#include <auparse.h>
int auparse_timestamp_compare(const au_event_t
*e1,constau_event_t*"e2);"
not me noticing the synopsis formatting in the original is a little chaotic β the stray quotes and the squished-together tokens are exactly as they were handed to me, so I'm passing them straight to you, no edits, no touch-ups π
πΈ DESCRIPTION πΈ
so basically auparse_timestamp_compare compares the values of 2 timestamps. two of them. a duo. a little timestamp duel π«Ά that's it, that's the function.
π RETURN VALUE π
it hands back -1, 0, or 1 β respectively depending on whether e2 is less than, equal to, or greater than e1 π
so real talk, watch the order: it's reading e2 against e1, not the other way around. the way that comparison is flipped from what your brain expects? iconic. be careful bestie π§
π SEE ALSO π
auparse_get_timestamp(3)β go get you a timestamp to compare in the first place, iykyk β
π AUTHOR π
Steve Grubb π the author, the moment, the main character energy
and that's the whole page fr fr π this came to you from Red Hat, dated Feb 2007 β a vintage baddie, lowkey timeless, slay πΈπ¦β¨
π¦ where this page comes from
- alpine 3.23: audit-doc 4.1.2-r2 Β· LGPL-2.1-or-later
- alpine 3.24: audit-doc 4.1.2-r6 Β· LGPL-2.1-or-later
- arch rolling: audit 4.2.1-1 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- centos-stream 10: audit-libs-devel 4.2.1-3.el10 Β· LGPL-2.0-or-later
- fedora 43: audit-libs-devel 4.1.1-2.fc43 Β· LGPL-2.0-or-later
- fedora 43: audit-libs-devel 4.1.1-2.fc43 Β· LGPL-2.0-or-later
- fedora 43: audit-libs-devel 4.2.1-1.fc43 Β· LGPL-2.0-or-later
- fedora 43: audit-libs-devel 4.2.1-1.fc43 Β· LGPL-2.0-or-later
- fedora 44: audit-libs-devel 4.1.4-1.fc44 Β· LGPL-2.0-or-later
- fedora 44: audit-libs-devel 4.1.4-1.fc44 Β· LGPL-2.0-or-later
- fedora 44: audit-libs-devel 4.2.1-1.fc44 Β· LGPL-2.0-or-later
- fedora 44: audit-libs-devel 4.2.1-1.fc44 Β· LGPL-2.0-or-later
- nixpkgs unstable: audit 4.2.1
- ubuntu resolute: libauparse-dev 1:4.1.2-1build1 Β· GPL-2.0-only
- ubuntu resolute: libauparse-dev 1:4.1.2-1ubuntu0.1 Β· GPL-2.0-only
- ubuntu stonking: libauparse-dev 1:4.1.2-1ubuntu1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms