AUPARSE_FIND_FIELD_NEXT(3)
π AUPARSE_FIND_FIELD_NEXT π
okay bestie, so this one lives in the Linux Audit API corner of section 3 of the manual, and it's called auparse_find_field_next β say that three times fast, I dare you π«Ά
β¨ NAME β¨
auparse_find_field_next β find next occurrence of field name π
πΈ SYNOPSIS πΈ
#include <auparse.h>
const char * auparse_find_field_next(const auparse_state_t *au);"
(yes the quote at the end is just... there. iconic of it, honestly π )
π¦ DESCRIPTION π¦
so auparse_find_field_next goes looking for the next occurrence of the field name that was previously stored. not a new field name, bestie β the one you already had in your back pocket. it keeps scanning and scanning until it hits the last record of the current event, and then it's like "okay that's the whole event, bye" π
think of it as the sequel to auparse_find_field β same vibe, next chapter, main character energy π₯
β RETURN VALUE β
- it returns
NULLif the field is not found π (the audacity) - if an error happens,
errnogets set. so check it, fr fr π - otherwise? it hands you a pointer to the text value associated with the field. slay β¨
π SEE ALSO π
go read those too, they're the whole friend group π
π AUTHOR π
Steve Grubb π
and that's the whole page, bestie!! this little gem came from <strong>Red Hat</strong>, and the date on it is <strong>Feb 2007</strong> β vintage, retro, lowkey a classic π go forth and find those fields, you got this πΈβ¨π
π¦ 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