summaryrefslogtreecommitdiff
path: root/usr.bin/file/magdir/ocaml
blob: c7e52987dd4f018916193ea756e9f669e5e10c4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#	$OpenBSD: ocaml,v 1.2 2015/10/05 22:48:26 nicm Exp $

#------------------------------------------------------------------------------
# ocaml: file(1) magic for Objective Caml files.
0	string	Caml1999	OCaml
>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)