AUPARSE_GET_FIELD_STR(3)
π AUPARSE_GET_FIELD_STR π
okay bestie, so this one is a <pink>Linux Audit API</pink> page, section 3 of the manual β it's a library call, not a command you run in your shell, iykyk π«Ά
β¨ NAME β¨
auparse_get_field_str β grab the value of the field you're currently sitting on πΈ
π SYNOPSIS π
#include <auparse.h>
const char * auparse_get_field_str(const auparse_state_t *au);"
yes the stray " at the end is literally in the original, we don't fix it, we don't touch it, it's part of the vibe π
(character for character, no cap)
π¦ DESCRIPTION π¦
so basically: auparse_get_field_str is your little key to the value living inside the current field β and that field belongs to the current record, which is chillin' inside the current event. it's giving very much "you are here, and here is the value" energy. β¨
like, the whole nesting situation is: event β record β field β value. and this function hands you the value at the bottom of that stack. iconic. π
π RETURN VALUE π
- if something goes wrong: it returns
NULLπ - otherwise: a pointer to the field's value π
bestie, NULL means error. always check. do not skip the vibe check. π
π SEE ALSO π
πΈ AUTHOR πΈ
Steve Grubb π«Ά
Red Hat came through with this one back in Feb 2007, and yeah β that's the source, the version, and the date, all wrapped up in a cute little sign-off. slay. π β¨π
π¦ 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