AUPARSE_DESTROY(3)
π AUPARSE_DESTROY(3) π
okay bestie, welcome to the Linux Audit API β¨ this one is short but SO important, it's the cleanup crew of the auparse world π§Ήπ«Ά
πΈ NAME πΈ
auparse_destroy β release instance of parser π
like, let it go, girl. free the parser, it's done. periodt.
π¦ SYNOPSIS π¦
#include <auparse.h>
void auparse_destroy(auparse_state_t *au);"
void auparse_destroy_ext(auparse_state_t *au, auparse_destroy_what_t
what);
yes babe, there are two of them. a regular one and an _ext one for when you're feeling extra πβ¨
π DESCRIPTION π
auparse_destroy frees all data structures and closes file descriptors. that's it, that's the whole vibe. everything goes. bye ππ
auparse_destroy_ext frees data structures based on what. and what can be one of these two icons:
AUPARSE_DESTROY_ALLβ release everything ποΈβ¨ no survivorsAUPARSE_DESTROY_COMMONβ release everything but theuidandgidlookup cache π like, keep the good stuff, trash the rest
so if you're the type of girlie who wants to keep her uid/gid cache around for round two, AUPARSE_DESTROY_COMMON is your moment. iykyk π
β RETURN VALUE β
None.
nothing. nada. it returns void, it's giving mysterious, it says nothing and leaves π it just does the thing and dips.
π SEE ALSO π
go read those too bestie, they're the friends of this one π«Ά
π AUTHOR π
Steve Grubb π
and that's the whole page, babes!! this little manual page came from Red Hat, dated Feb 2007 β yes she's an elder icon and she still slays πβ¨ now go free your parser and close those file descriptors, no leaks on my watch π₯π 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