TERMKEY_SET_CANONFLAGS(3)

πŸ’… TERMKEY_SET_CANONFLAGS β€” the canonicalisation flags remote control

ok so bestie, welcome to TERMKEY_SET_CANONFLAGS(3), a page from the Library Functions Manual πŸ’–. This is where you get to peek at and poke at the canonicalisation flags living inside your termkey(7) instance. group chat energy only, but every fact stays exactly as it is, fr fr.


✨ NAME ✨

termkey_set_canonflags, termkey_get_canonflags β€” control the canonicalisation flags πŸŽ€


🌸 SYNOPSIS 🌸

#include <termkey.h>

void termkey_set_canonflags(TermKey *tk, int newflags);
int termkey_get_canonflags(TermKey *tk);

Link with -ltermkey. yes queen, don't forget the linker flag πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

termkey_set_canonflags() is the glow-up button ✨ β€” it changes the set of canonicalisation flags in the termkey(7) instance to those given by newflags. Want the deets on which flags exist and what each one actually means? Go read the termkey manpage, it's right there, she's got the whole list πŸ‘‘

termkey_get_canonflags() is the "wait what did I even set" function 😭 β€” it returns the value set by the last call to termkey_set_canonflags(). Simple as that, no cap.


πŸ‘‘ RETURN VALUE πŸ‘‘

  • termkey_set_canonflags() returns no value. Like, nothing. Void. It said what it said and left πŸ’€
  • termkey_get_canonflags() returns the current canonicalisation flags, so you can actually see what's going on 🫢

πŸ”₯ SEE ALSO πŸ”₯


and that's the whole page bestie, we ate and left zero crumbs πŸ“. This was TERMKEY_SET_CANONFLAGS(3) from the Library Functions Manual β€” no date on this one, she's timeless like that βœ¨πŸ’œ bye mwah πŸ’