AUPARSE_GOTO_FIELD_NUM(3)
β¨ AUPARSE_GOTO_FIELD_NUM(3) β¨
okay bestie, so this one lives in the Linux Audit API corner of the universe and it's literally the "take me to that exact field" button π
it's auparse_goto_field_num and no cap, it does exactly what it says on the tin.
πΈ NAME πΈ
auparse_goto_field_num β move field cursor to specific field π―
π¦ SYNOPSIS π¦
#include <auparse.h>
int auparse_goto_field_num(const auparse_state_t *au,unsignedint"num);"
π DESCRIPTION π
so like. auparse_goto_field_num will move the internal library cursors to point to a specific field number in the current record. that's it, that's the whole vibe. π«Ά
fields within the same record are numbered starting from 0 β zero-indexed girlies rise up, we love to see it. β¨
and ngl? this is generally not needed. like, most of the time you're fine without it. BUT. there are some cases where one may want precise control over the exact field being looked at, and that's when you pull this bad boy out. main character energy only when required, periodt. π
π₯ RETURN VALUE π₯
Returns 0 on error or 1 for success. that's it. 0 = π, 1 = π slay.
π SEE ALSO π
π AUTHOR π
Steve Grubb π
quick vibe check: if you're reaching for this, you probably already know exactly which field you want. trust your gut, bestie. iykyk π«
that's the whole page, fr fr. this little icon was brought to you by Red Hat back in Dec 2016, and yes it's still out here doing its thing. go forth and navigate those fields, you absolute legend π¦β¨π
π¦ 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