]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - usr.sbin/sysinstall/rtermcap.c
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / usr.sbin / sysinstall / rtermcap.c
1 #include <stdio.h>
2 #include <termcap.h>
3
4 int
5 main(int argc, char **argv)
6 {
7         char    buf[4096];
8         int     i;
9
10         if (argc < 2)
11                 return 1;
12         i = tgetent(buf, argv[1]);
13         printf("%s",buf);
14         return 0;
15 }