summaryrefslogtreecommitdiff
path: root/usr.bin/file/magdir/ocaml
blob: 9f135a1192d5d5eb2f7f17e8574934e6018f10dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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).