termkey_set_flags - Man Page

control the operational flags


#include <termkey.h>

void termkey_set_flags(TermKey *tk, int newflags);
int termkey_get_flags(TermKey *tk);

Link with -ltermkey.


termkey_set_flags() changes the set of operation flags in the termkey(7) instance to those given by newflags.

termkey_get_flags() returns the value set by the last call to termkey_set_flags(), or the value given to the constructor.

Return Value

termkey_set_flags() returns no value. termkey_get_flags() returns the current operational flags.

See Also

termkey_new(3), termkey(7)

Referenced By