freebsd-dev/contrib/ncurses/test/keynames.c
Peter Wemm 39f2269fcb Import ncurses-5.2-20020518 onto the vendor branch.
Obtained from: ftp://dickey.his.com/ncurses/
2002-05-21 05:30:25 +00:00

16 lines
269 B
C

/*
* $Id: keynames.c,v 1.3 2001/09/15 21:46:34 tom Exp $
*/
#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));
}
ExitProgram(EXIT_SUCCESS);
}