TERMKEY_SET_FLAGS(3)
β¨ TERMKEY_SET_FLAGS(3) β¨
okay bestie, gather round π this one lives in the Library Functions Manual and it's literally just about controlling the operational flags on your termkey(7) vibe. short page, big energy, let's go π
πΈ NAME πΈ
termkey_set_flags, termkey_get_flags β control the operational flags ποΈβ¨
π¦ SYNOPSIS π¦
#include <termkey.h>
void termkey_set_flags(TermKey *tk, int newflags);
int termkey_get_flags(TermKey *tk);
Link with -ltermkey.
fr fr do not forget the -ltermkey at link time, she will not compile without it π
π DESCRIPTION π
termkey_set_flags() does exactly what it says on the tin, no cap β it takes the set of operation flags inside your termkey(7) instance and swaps them out for whatever you passed in as newflags. new flags, who dis πββοΈ
termkey_get_flags() is the lil peek-behind-the-curtain function π«Ά it hands you back whatever value got set by the last call to termkey_set_flags(), OR β and this is the cute part β the value that was given to the constructor if nobody's called the setter yet. so it always knows something, she's never empty π
π RETURN VALUE π
termkey_set_flags() returns no value. nothing. void. she gives nothing and that's her right π
termkey_get_flags() returns the current operational flags, which is the whole point of her existence and honestly iconic β
π SEE ALSO π
and that's the whole page bestie, short and sweet, we ate ππ mwah π
signing off from the Library Functions Manual, this was TERMKEY_SET_FLAGS(3) β stay flaggy, stay slay β¨π
π¦ where this page comes from
- alpine 3.24: libtermkey-doc 0.22-r4 Β· MIT
- debian trixie: libtermkey-dev 0.22-2+b1 Β· MIT
- epel 10: libtermkey-devel 0.22-2.el10_0 Β· MIT
- epel 9: libtermkey-devel 0.22-2.el9 Β· MIT
- fedora 43: libtermkey-devel 0.22-11.fc43 Β· MIT
- fedora 43: libtermkey-devel 0.22-11.fc43 Β· MIT
- fedora 44: libtermkey-devel 0.22-12.fc44 Β· MIT
- fedora 44: libtermkey-devel 0.22-12.fc44 Β· MIT
- nixos 26.05: libtermkey 0.22
- nixpkgs unstable: libtermkey 0.22
- opensuse-leap 16.0: libtermkey-devel 0.22-bp160.1.11 Β· MIT
- opensuse-leap 16.0: libtermkey-devel 0.22-bp160.1.11 Β· MIT
- opensuse-leap 16.0: libtermkey-devel 0.22-bp160.1.11 Β· MIT
- opensuse-leap 16.0: libtermkey-devel 0.22-bp160.1.11 Β· MIT
- ubuntu questing: libtermkey-dev 0.22-2
- ubuntu resolute: libtermkey-dev 0.22-2build1 Β· MIT
- ubuntu stonking: libtermkey-dev 0.22-3 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms