diff blobstat/main.c @ 294:ff2a6433687f

blobstat: code finished, compiles
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 21 Sep 2019 21:17:29 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/blobstat/main.c	Sat Sep 21 21:17:29 2019 +0000
@@ -0,0 +1,15 @@
+#include <stdio.h>
+#include <stdlib.h>
+
+main(argc, argv)
+	char **argv;
+{
+	if (argc != 3) {
+		fprintf(stderr, "usage: %s class-file map-file\n", argv[0]);
+		exit(1);
+	}
+	read_class_file(argv[1]);
+	process_map_file(argv[2]);
+	print_output();
+	exit(0);
+}