1 2 3 4 5 6 7 8 9 10 11
#include <term.h> #define key_f40 tigetstr("kf40") /** f40 key **/ /* TERMINFO_NAME(kf40) TERMCAP_NAME(F4) XOPEN(400) */