summaryrefslogtreecommitdiffstats
path: root/src/file-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/file-test.c')
-rw-r--r--src/file-test.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/file-test.c b/src/file-test.c
new file mode 100644
index 0000000..f1ada59
--- /dev/null
+++ b/src/file-test.c
@@ -0,0 +1,16 @@
+/*
+ * This file is part of MXE.
+ * See index.html for further information.
+ */
+
+#include <stdio.h>
+#include <magic.h>
+
+int main(int argc, char *argv[])
+{
+ (void)argc;
+ (void)argv;
+
+ fprintf(stdout, "magic file from %s\n", magic_getpath(NULL, 0));
+ return 0;
+}