1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00
freebsd/usr.sbin/sade/rtermcap.c
Alexander Leidinger e6748c986c Forced commit to note repo copy from sysinstall.
Repo copy by:	markm
2006-08-07 23:20:23 +00:00

17 lines
204 B
C

/* $FreeBSD$ */
#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;
}