ncurses 5.3
[mirror-ossqm-ncurses.git] / test / keynames.c
blobee8fac89f9ec921356b4be52e81b6c28f2e3a9af
1 /*
2 * $Id: keynames.c,v 1.4 2002/09/01 19:42:42 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 char *result = keyname(n);
13 if (result != 0)
14 printf("%d(%5o):%s\n", n, n, result);
16 ExitProgram(EXIT_SUCCESS);