AUPARSE_GET_TIME(3)
π AUPARSE_GET_TIME(3) π
okay bestie, so this one is from the Linux Audit API β it's auparse_get_time, a lil member of the auparse family, and she's here to hand you a timestamp. let's get into it β¨
πΈ NAME πΈ
auparse_get_time β get event's time π°οΈ
π SYNOPSIS π
#include <auparse.h>
time_t auparse_get_time(const auparse_state_t *au);"
(yes the trailing " is really there in the original, i'm not gonna gaslight you π
)
β¨ DESCRIPTION β¨
so like, auparse_get_time will access just the time portion of the timestamp data structure for the current event. that's it, that's the whole job β she's a specialist, not a generalist π
like, the timestamp data structure has more going on, but this function is only here for the time part. main character energy fr.
π¦ RETURN VALUE π¦
- Returns
0if an error occurs π - otherwise, the valid time value in
time_tformat π«Ά
so basically: zero means something went wrong, anything else is your actual time. vibe check accordingly.
π SEE ALSO π
the whole friend group, go say hi π
π AUTHOR π
Steve Grubb
and that's the page!! written by Steve Grubb, brought to you by Red Hat, dated Sept 2007 β yes she's a vintage icon and she still slays π β¨
mwah, go timestamp something π
π¦ 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