Clarify portability and main program.
[python/dscho.git] / BeOS / ar-1.1 / docs / notes
blob4a90a16b37878e34b0dff24e04889e4353131ed3
1 MW library layout:
3 header
4         magic word, magic processor flag ('MWOBPPC ') - 2x 4 bytes
5         magic flags, version (file format version?) - 2x 4 bytes
6         code size - 4 bytes
7         data size - 4 bytes
8         # of objects - 4 bytes
10         header for file 1 - 20 bytes
11                 - modification time - 4 bytes
12                 - offset to filename - 4 bytes
13                 - offset to full path - 4 bytes (NOTE: NOT a full path in reality!)
14                 - offset to object data - 4 bytes
15                 - size of object data - 4 bytes
17         ...
19         header for file n - 20 bytes
21         file 1 name + NUL - variable
22         file 1 name + NUL - variable
23         file 2 name + NUL - variable
24         file 2 name + NUL - variable
25         ...
26         file n name + NUL - variable
27         file n name + NUL - variable
29         padding to multiple of 4 bytes - 0 - 3 bytes
31 file 1 data - variable (padded to 4-byte boundary)
32 file 2 data - variable (padded to 4-byte boundary)
33 ...
34 file n data - variable (padded to 4-byte boundary)