AUPARSE_GET_FIELD_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_FIELD_NUM(3) πŸ’–

okay bestie, so this one lives in the Linux Audit API section of your man pages β€” it's a 3, so it's a library function, and it's about to tell you exactly where your cursor is sitting. πŸŽ€


✨ NAME ✨

auparse_get_field_num β€” get current field cursor location πŸ¦‹


✨ SYNOPSIS ✨

#include <auparse.h>

unsigned int auparse_get_field_num(const auparse_state_t *au);"

✨ DESCRIPTION ✨

okay so auparse_get_field_num will retrieve the internal library cursor's current field location in the current record. πŸ‘‘

Fields within the same record are numbered starting from 0 β€” zero-indexed, as the universe intended, no cap.

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

like... most of the time you don't care, but sometimes you do need to know precisely which field you're staring at, and that's when you call this. it's giving "I just want to know where I am" energy. 🌸

✨ RETURN VALUE ✨

Returns the current field cursor location. πŸ“


✨ SEE ALSO ✨


✨ AUTHOR ✨

Steve Grubb β€” king behavior, honestly. πŸ‘‘


and that's the whole page, bestie!! 🌈 this beauty shipped from Red Hat back in Dec 2016, so go forth, check your field numbers, and slay. periodt. πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…πŸ«ΆπŸ‘‘πŸŒˆβ­