summaryrefslogtreecommitdiff
path: root/usr.bin/file/magdir/ocaml
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/file/magdir/ocaml')
-rw-r--r--usr.bin/file/magdir/ocaml14
1 files changed, 14 insertions, 0 deletions
diff --git a/usr.bin/file/magdir/ocaml b/usr.bin/file/magdir/ocaml
new file mode 100644
index 00000000000..9f135a1192d
--- /dev/null
+++ b/usr.bin/file/magdir/ocaml
@@ -0,0 +1,14 @@
+# $OpenBSD: ocaml,v 1.1 2004/06/03 03:14:20 tedu Exp $
+
+#------------------------------------------------------------------------------
+# ocaml: file(1) magic for Objective Caml files.
+0 string Caml1999 Objective caml
+>8 string X exec file
+>8 string I interface file (.cmi)
+>8 string O object file (.cmo)
+>8 string A library file (.cma)
+>8 string Y native object file (.cmx)
+>8 string Z native library file (.cmxa)
+>8 string M abstract syntax tree implementation file
+>8 string N abstract syntax tree interface file
+>9 string >\0 (Version %3.3s).