AUSEARCH_CLEAR(3)
β¨ AUSEARCH_CLEAR(3) β¨
okay bestie, gather round π«Ά you're in section 3 of the manual (library calls, the fun ones), and this page is all about ausearch_clear from the Linux Audit API. it's short, it's sweet, it's giving "spring cleaning but for your parser." π
πΈ NAME πΈ
ausearch_clear β clear search parameters β¨
π SYNOPSIS π
#include <auparse.h>
void ausearch_clear(auparse_state_t *au);"
no cap, that's the whole signature. one pointer in, nothing out. iconic behavior fr fr π
π¦ DESCRIPTION π¦
so like, ausearch_clear does exactly what it says on the tin, and honestly? we love a function with zero hidden lore. π
it clears any search parameters that are stored in the parser instance, and it also frees the memory associated with them. so if you've been stacking up search criteria in your auparse_state_t and you're done with them β or you wanna start fresh with a clean slate β this is your girl. β¨π§Ή
it's giving "reset the vibe check." all the old search stuff? gone. memory? freed. main character energy only. π
π RETURN VALUE π
None.
that's it. that's the whole section. it returns nothing. no status code, no sneaky error, no little surprise. just vibes and a void. π«
π SEE ALSO π
these are the ones adding stuff, and ausearch_clear is the one taking it all away. balance, bestie. yin and yang. π§β¨
π AUTHOR π
Steve Grubb β the actual legend behind this one. periodt. π
and that's the page!! written by Red Hat, dated Feb 2007 (yes, it's been serving looks since 2007 π
), and you just read AUSEARCH_CLEAR(3) from the Linux Audit API. go forth and clear those search params, bestie π«ΆπΈ
π¦ 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