summaryrefslogtreecommitdiff
path: root/tools/magic
blob: 7468066e014f40aa5d031f195dccbf585e4c5f80 (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        Objective Caml
>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).