AUPARSE_GET_FILENAME(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_filename β€” bestie, this is the one that tells you which file your record was chillin' in πŸ’–


🌸 SYNOPSIS 🌸

#include <auparse.h>

const char * auparse_get_filename(const auparse_state_t *au);"

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so picture this: you've got a record, and you're like "where did you even come from??" πŸ‘€ That's literally what auparse_get_filename is for. It hands you back the name of the source file where the record was found β€” but only if the source type is AUSOURCE_FILE or AUSOURCE_FILE_ARRAY.

For any other source type? Yeah no, the return value is just NULL. It's giving "not applicable, babes" πŸ’…


πŸŽ€ RETURN VALUE πŸŽ€

It gives you back a pointer to a filename, or NULL if that filename is simply not available. No drama, no surprises 🫢


πŸ’œ SEE ALSO πŸ’œ


πŸ‘‘ AUTHOR πŸ‘‘

John Dennis


and that's the whole page, bestie β€” slay πŸ’…βœ¨

this iconic lil number comes to you from Red Hat, dated Feb 2007 🌈 β€” yeah she's been around a minute and she still ate, no cap πŸŽ€πŸ’–