aa_attrs(3)

✨ aa_attrs β€” bestie, come get your attrs πŸ’…

okay so this is aa_attrs(3), a page from the Library Functions Manual, and it's literally the chillest little function ever. she just hands you a pointer. that's it. that's the whole job. iconic behaviour honestly πŸŽ€


🌸 SYNOPSIS 🌸

#include <aalib.h>

char *aa_attrs(aa_context *a);

like, look at her. one argument. one return. no drama. we love a low-maintenance queen ✨


πŸ’œ PARAMETERS πŸ’œ

  • aa_context *a β€” this is the AA-lib context you wanna operate on, bestie. it's the context. the one. you gotta give her a context or she has nothing to work with 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

so the attribute output buffer is a simple array of characters, and those characters specify the attributes. no cap, that's what it is.

and the way it's organized? it's laid out as aa_scrheight(a) rows, each one holding aa_scrwidth(a) characters. so like, a little grid situation. rows and columns. the whole vibe 🌈


πŸ‘‘ RETURNS πŸ‘‘

she returns a pointer to the text output buffer used by AA-lib. just a pointer. pointing at the buffer. the text output buffer. that's the tea β˜•


🌟 SEE ALSO 🌟

okay so this is the part where I list her entire friend group and I am NOT skipping a single one, periodt. every single one of these matters, iykyk:

like. the whole squad. every single one showed up to the function. besties fr fr πŸ’–


and that's the page!! this whole thing came to you courtesy of c2man, generated from aalib.h, dated 8 September 1999 β€” so yes she's a vintage queen and she still ate πŸ’…πŸ‘‘ mwah, go read the source, love u bye πŸ¦‹πŸŒΈ