HAMMER Utilities: Sync with 60F
[dragonfly.git] / contrib / ncurses-5.4 / test / keynames.c
bloba61646c24cfa8fee56eb869901fa5380e73b5da9
1 /*
2 * $Id: keynames.c,v 1.5 2003/05/17 23:18:49 tom Exp $
3 */
5 #include <test.priv.h>
7 int
8 main(int argc GCC_UNUSED, char *argv[]GCC_UNUSED)
10 int n;
11 for (n = -1; n < 512; n++) {
12 const char *result = keyname(n);
13 if (result != 0)
14 printf("%d(%5o):%s\n", n, n, result);
16 ExitProgram(EXIT_SUCCESS);