1 2 3 4 5 6 7 8 9 10 11
#include <term.h> #define key_f10 tigetstr("kf10") /** f10 key **/ /* TERMINFO_NAME(kf10) TERMCAP_NAME(ka) XOPEN(400) */