AUPARSE_GET_RECORD_NUM(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_get_record_num ✨

okay bestie, welcome to the Linux Audit API corner of the man pages πŸŽ€ this one is auparse_get_record_num(3) and honestly it's giving tiny little cursor check energy πŸ’…


🌸 NAME 🌸

auparse_get_record_num β€” get current record cursor location πŸ“


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <auparse.h>

unsigned int auparse_get_record_num(const auparse_state_t *au);"

πŸ’– DESCRIPTION πŸ’–

so like, auparse_get_record_num will retrieve the internal library cursor's current record location in the current event. no cap, that's literally it 🫢

records within the same event are numbered starting from 0 β€” zero-indexed, the way the universe intended ✨

ngl this is generally not needed, but there are some cases where one may want to know the exact record being looked at. iykyk πŸ’…


🌈 RETURN VALUE 🌈

returns the current record cursor location. that's the whole vibe πŸ‘‘


πŸŽ€ SEE ALSO πŸŽ€


πŸ‘‘ AUTHOR πŸ‘‘

Steve Grubb πŸ’œ


and that's a wrap bestie!! this page came to you courtesy of Red Hat β€” wait no, we don't do HTML bold here, so: courtesy of Red Hat, dated Dec 2016, from the Linux Audit API manual. slay, go read the actual source, mwah πŸ“βœ¨