summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade/rtermcap.c
blob: 84b3feb49ead2366b3962e14a1575bd993d92ba3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <stdio.h>
#include <termcap.h>

int
main(int argc, char **argv)
{
	char	buf[4096];
	int	i;

	if (argc < 2)
		return 1;
	i = tgetent(buf, argv[1]);
	printf("%s",buf);
	return 0;
}
OpenPOWER on IntegriCloud