AUPARSE_FIRST_FIELD(3)

πŸ“¦
version 4.2.1 Β· 3 versions
, in alpine 3.23, alpine 3.24, arch rolling, centos-stream 10, fedora 43, fedora 44, nixpkgs unstable, ubuntu resolute, ubuntu stonking

🌸 AUPARSE_FIRST_FIELD πŸ’…

okay bestie, welcome to the Linux Audit API corner of the man pages β€” this one's the auparse_first_field(3) girlie, and she's here to reposition your field cursor ✨


✨ SYNOPSIS ✨

first things first, you gotta bring her in:

#include <auparse.h>

int auparse_first_field(const auparse_state_t *au);"

yes, that's the whole signature. she's lowkey simple like that 🫢


πŸ’– DESCRIPTION πŸ’–

so what does she actually do? auparse_first_field takes the library's internal cursor and, like, snaps it back to point at the first field of the current record in the current event. that's it. that's the whole vibe. she's the "rewind, bestie, we're starting over" button πŸ”πŸ’–


πŸŽ€ RETURN VALUE πŸŽ€

  • 0 β€” there's no event data at all, nothing to see here πŸ™ˆ
  • 1 β€” success, we ate, cursor is placed πŸ‘‘

πŸ¦‹ SEE ALSO πŸ¦‹

  • auparse_next_field(3) β€” the opposite-direction queen, when you're ready to move forward instead πŸ’«

πŸ‘‘ AUTHOR πŸ‘‘

Steve Grubb β€” thank you for your service, icon πŸ«‘πŸ’œ


mwah, that's the whole page bestie, no cap. this little love letter came to you from Red Hat, dated Feb 2007, and it's still serving looks in the Linux Audit API to this very day πŸŒˆπŸŽ€πŸ’–