summaryrefslogtreecommitdiff
path: root/ncurses-5.2/test/keynames.c
blob: 0d15a8827e189a17956bc7f8399a4c5bc2e40458 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
 * $Id$
 */

#include <test.priv.h>

int main(int argc GCC_UNUSED, char *argv[] GCC_UNUSED)
{
	int n;
	for (n = -1; n < 512; n++) {
		printf("%d(%5o):%s\n", n, n, keyname(n));
	}
	return EXIT_SUCCESS;
}