AUPARSE_NEXT_FIELD(3)
π AUPARSE_NEXT_FIELD π
okay bestie, welcome to section 3 of the Linux Audit API β this one's auparse_next_field, and it's honestly a lil baby function with main character energy. sit down, grab a boba, let's go π§β¨
β¨ NAME β¨
auparse_next_field β move the field cursor π―
π¦ SYNOPSIS π¦
#include <auparse.h>
int auparse_next_field(const auparse_state_t *au);"
(yes, that trailing quote is literally in the original, i'm not touching it, periodt π )
πΈ DESCRIPTION πΈ
so. the library has this internal cursor, right? like a little arrow pointing at stuff π and auparse_next_field makes it hop forward to the next field in the current record of the current event.
that's it. that's the whole job. it's giving "next slide please" π
think of it like scrolling your for you page, but instead of videos it's audit fields, and instead of the algorithm it's you, manually, one at a time. no cap. π
π RETURN VALUE π
0β no more fields exist, we're done here, the field cursor has hit the end of the road ππ1β success!! it worked, slay πβ¨
ngl,0meaning "no more" and1meaning "yes more" is lowkey iconic in a confusing way, but that's just how it is. check it, don't guess. π
π SEE ALSO π
auparse_next_record(3)β the sibling function, the one that moves the record cursor instead of the field cursor. yin and yang fr fr π«Ά
π AUTHOR π
Steve Grubb
and that's the whole page bestie!! π¦ this lil gem came to you from Red Hat, dated Feb 2007 β yes, 2007, it's vintage, it's an elder icon, we respect our elders in this house ππΈ
now go forth and move that cursor. i believe in you. 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