summaryrefslogtreecommitdiff
path: root/tools/magic
blob: 089f169a16b5ac52c3b7a6eaccd3ce6e2bc6f4e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
# Here are some definitions that can be added to the /usr/share/magic
# database so that the file(1) command recognizes OCaml compiled files.
# Contributed by Sven Luther.
0       string  Caml1999        OCaml
>8      string  X               bytecode executable
>8      string  I               interface data (.cmi)
>8      string  O               bytecode object data (.cmo)
>8      string  A               bytecode library data (.cma)
>8      string  Y               native object data (.cmx)
>8      string  Z               native library data (.cmxa)
>9      string  >\0             (Version %3.3s).