AUPARSE_GET_RECORD_NUM(3)
β¨ auparse_get_record_num β¨
okay bestie, welcome to the Linux Audit API corner of the man pages π this one is auparse_get_record_num(3) and honestly it's giving tiny little cursor check energy π
πΈ NAME πΈ
auparse_get_record_num β get current record cursor location π
π¦ SYNOPSIS π¦
#include <auparse.h>
unsigned int auparse_get_record_num(const auparse_state_t *au);"
π DESCRIPTION π
so like, auparse_get_record_num will retrieve the internal library cursor's current record location in the current event. no cap, that's literally it π«Ά
records within the same event are numbered starting from 0 β zero-indexed, the way the universe intended β¨
ngl this is generally not needed, but there are some cases where one may want to know the exact record being looked at. iykyk π
π RETURN VALUE π
returns the current record cursor location. that's the whole vibe π
π SEE ALSO π
π AUTHOR π
Steve Grubb π
and that's a wrap bestie!! this page came to you courtesy of Red Hat β wait no, we don't do HTML bold here, so: courtesy of Red Hat, dated Dec 2016, from the Linux Audit API manual. slay, go read the actual source, mwah πβ¨
π¦ 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