summaryrefslogtreecommitdiffstats
path: root/lib/libforms/examples/tform.c
blob: 48f4d48bab0a6d60e1214d47a80d9cabf8f5ac66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <stdio.h>
#include <stdlib.h>
#include <ncurses.h>
#include <dialog.h>
#include <forms.h>

extern struct form *form;

void
main()
{
	printf("Testing forms code\n");

	if (init_forms("example.frm") == -1)
		exit(1);

	edit_form(form);
}
OpenPOWER on IntegriCloud