2 #------------------------------------------------------------------------------
3 # $File: dyadic,v 1.5 2010/09/20 18:55:20 rrt Exp $
4 # Dyadic: file(1) magic for Dyalog APL.
8 >>1 byte 0x00 incomplete workspace
9 >>1 byte 0x01 component file
10 >>1 byte 0x02 external variable
11 >>1 byte 0x03 workspace
15 0 beshort 0xaa03 Dyalog APL
16 >2 byte x workspace type %d
18 >7 byte&0x28 0x00 32-bit
19 >7 byte&0x28 0x20 64-bit
20 >7 byte&0x0c 0x00 classic
21 >7 byte&0x0c 0x04 unicode
22 >7 byte&0x88 0x00 big-endian
23 >7 byte&0x88 0x80 little-endian
25 0 byte 0xaa Dyalog APL
27 >1 byte 0x01 component file 32-bit non-journaled non-checksummed
28 >1 byte 0x02 external variable exclusive
29 >1 byte 0x06 external variable shared
31 >1 byte 0x08 mapped file 32-bit
32 >1 byte 0x09 component file 64-bit non-journaled non-checksummed
33 >1 byte 0x0a mapped file 64-bit
34 >1 byte 0x0b component file 32-bit level 1 journaled non-checksummed
35 >1 byte 0x0c component file 64-bit level 1 journaled non-checksummed
36 >1 byte 0x0d component file 32-bit level 1 journaled checksummed
37 >1 byte 0x0e component file 64-bit level 1 journaled checksummed
38 >1 byte 0x0f component file 32-bit level 2 journaled checksummed
39 >1 byte 0x10 component file 64-bit level 2 journaled checksummed
40 >1 byte 0x11 component file 32-bit level 3 journaled checksummed
41 >1 byte 0x12 component file 64-bit level 3 journaled checksummed
42 >1 byte 0x13 component file 32-bit non-journaled checksummed
43 >1 byte 0x14 component file 64-bit non-journaled checksummed
46 0 short 0x6060 Dyalog APL transfer