AUPARSE_GET_MILLI(3)
π AUPARSE_GET_MILLI π
okay bestie, welcome to the Linux Audit API corner of the auparse family β section 3, the library-call zone π this is auparse_get_milli, and no cap, she is a tiny little function with one very specific job.
β¨ NAME β¨
auparse_get_milli β get the millisecond value of the event π°οΈβ¨
πΈ SYNOPSIS πΈ
#include <auparse.h>
unsigned int auparse_get_milli(const auparse_state_t *au);"
(yeah the stray " at the end is justβ¦ there. it's canon. we keep it. π
)
π¦ DESCRIPTION π¦
okay so picture this: you've got a auparse_state_t * and you're poking around an audit event. auparse_get_milli gets the millisecond value of the current event β¨ that's it. that's the whole vibe. it's giving "one job, done slayfully". π
π RETURN VALUE π
- Returns
0if an error occurs π (yes,0is the sad path here, not the happy one β read it twice, bestie, it's not like other functions). - Otherwise, it hands you the value of the millisecond portion of the timestamp π₯
so likeβ¦ 0 = something went wrong, anything else = your milli. fr fr, don't flip those. π
π SEE ALSO π
go be nosy about the rest of the timestamp squad:
π«Ά AUTHOR π«Ά
Steve Grubb π (iconic, legendary, the moment)
reminder bestie: this is a manpage, not a group chat β but I am correct about all of it. every flag, every number, every path, untouched. π§
Red Hat Β· Sept 2007 β that's the source and the date, mwah π thanks for reading, you ate this whole page up, periodt πβ¨π¦
π¦ 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