aa_setsupported(3)

πŸ’– aa_setsupported β€” like, the glow-up button for your hardware_params πŸ’–

okay so bestie, this is aa_setsupported(3) from the Library Functions Manual, and it's genuinely one of those tiny functions that does exactly one thing and does it flawlessly. no notes. πŸ‘‘


✨ NAME ✨

aa_setsupported β€” alter the "supported" field of the hardware_params structure used by AA-lib πŸŽ€


🌸 SYNOPSIS 🌸

#include <aalib.h>

void aa_setsupported
(
     aa_context *c,
     int supported
);

like. she's simple. she's elegant. she takes two args and returns nothing because she doesn't need to prove anything to anyone πŸ’…


πŸ¦‹ PARAMETERS πŸ¦‹

  • aa_context *c β€” the AA-lib context you're operating on. this is your girl, your canvas, your whole situation. she gets to be the one who receives the change ✨
  • int supported β€” the new mask of requested features, and this is where it gets juicy πŸ”₯ it can contain AA_EXTENDED to enable use of all 256 characters, and AA_EIGHT to enable use of the character numbered higher than 127. so yeah, two flags, both iconic, both doing real work πŸ’–

πŸ’œ DESCRIPTION πŸ’œ

so here's the tea: this function can be used to alter the "supported" field of the hardware-params structure used by AA-lib. that's it. that's the whole job. she walks in, she flips the field, she leaves. main character energy, no cap 🌈

ngl bestie, if you were hoping for more drama than that, this is not the function for you. she is unbothered, moisturized, in her lane, and she only edits that one field πŸ™ˆ

πŸŽ€ SEE ALSO πŸŽ€

the whole friend group, fr fr β€” go read these too, they're all part of the same squad:


kisses, bestie 🫢 this lil page came from c2man aalib.h and it's dated 8 September 1999 β€” so yes, she's vintage, she's been serving since the late nineties, and she's still slaying. periodt. πŸ’€βœ¨