File:  [ELWIX - Embedded LightWeight unIX -] / libelwix / example / test_valid.c
Revision 1.1.2.2: download - view: text, annotated - select for diffs - revision graph
Mon Aug 25 10:14:31 2025 UTC (9 days, 23 hours ago) by misho
Branches: elwix6_8
update ut

#include <stdio.h>
#include <elwix.h>


int
main(int argc, char **argv)
{
	int started = 0;

	if (argc < 2)
		return 1;

	printf("started=%d validate=%d\n", started, json_validate(argv[1], &started));
	return 0;
}

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>