AUPARSE_GET_SERIAL(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

πŸ’– NAME πŸ’–

auparse_get_serial β€” bestie, it grabs the event's serial number, that's the whole job πŸŽ€


✨ SYNOPSIS ✨

#include <auparse.h>

unsigned long auparse_get_serial(const auparse_state_t *au);"

🌸 DESCRIPTION 🌸

okay so here's the tea πŸ«– β€” auparse_get_serial pulls the serial number value straight out of the current event's timestamp data structure. that's it, that's the function, no cap. it's giving "short and iconic" πŸ’…


πŸ¦‹ RETURN VALUE πŸ¦‹

if something goes sideways, you get 0 back 😭 β€” that's the error signal, periodt.

otherwise? you get the serial number for the event ✨ slay.


πŸ‘‘ SEE ALSO πŸ‘‘

the besties, the squad, the whole friend group πŸ’œ


🌈 AUTHOR 🌈

Steve Grubb πŸ’« (a real one, fr fr)


🌟 and that's a wrap on AUPARSE_GET_SERIAL(3) from the Linux Audit API β€” brought to you by Red Hat, dated Sept 2007, which is lowkey ancient but the code still eats πŸ’…πŸ’– mwah, go read an event's serial number bestie 🧚✨