AUPARSE_GET_FILENAME(3)
β¨ NAME β¨
auparse_get_filename β bestie, this is the one that tells you which file your record was chillin' in π
πΈ SYNOPSIS πΈ
#include <auparse.h>
const char * auparse_get_filename(const auparse_state_t *au);"
π¦ DESCRIPTION π¦
okay so picture this: you've got a record, and you're like "where did you even come from??" π That's literally what auparse_get_filename is for. It hands you back the name of the source file where the record was found β but only if the source type is AUSOURCE_FILE or AUSOURCE_FILE_ARRAY.
For any other source type? Yeah no, the return value is just NULL. It's giving "not applicable, babes" π
π RETURN VALUE π
It gives you back a pointer to a filename, or NULL if that filename is simply not available. No drama, no surprises π«Ά
π SEE ALSO π
π AUTHOR π
John Dennis
and that's the whole page, bestie β slay π β¨
this iconic lil number comes to you from Red Hat, dated Feb 2007 π β yeah she's been around a minute and she still ate, no cap ππ
π¦ 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