home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / Basic / OTL-BBU1.DMS / in.adf / Includes / dos / dos.bb2 < prev    next >
Unknown  |  1994-04-04  |  8.9 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default
100% TrID Summation Document Image Information Load File default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 00 3b 20 24 56 45 52 | 3a 20 64 6f 73 2e 62 62 |;.; $VER|: dos.bb|
|00000010| 32 20 34 30 2e 30 20 28 | 32 38 2e 30 32 2e 39 34 |2 40.0 (|28.02.94|
|00000020| 29 00 3b 00 00 80 12 22 | 65 78 65 63 2f 74 79 70 |).;...."|exec/typ|
|00000030| 65 73 2e 62 62 32 22 00 | 00 80 0d 20 44 4f 53 4e |es.bb2".|... DOSN|
|00000040| 41 4d 45 3a 22 64 6f 73 | 2e 6c 69 62 72 61 72 79 |AME:"dos|.library|
|00000050| 22 3a 80 02 20 80 0d 00 | 00 3b 2f 2a 20 50 72 65 |":.. ...|.;/* Pre|
|00000060| 64 65 66 69 6e 65 64 20 | 41 6d 69 67 61 20 44 4f |defined |Amiga DO|
|00000070| 53 20 67 6c 6f 62 61 6c | 20 63 6f 6e 73 74 61 6e |S global| constan|
|00000080| 74 73 20 2a 2f 00 00 23 | 44 4f 53 54 52 55 45 3d |ts */..#|DOSTRUE=|
|00000090| 28 2d 31 29 00 23 44 4f | 53 46 41 4c 53 45 3d 28 |(-1).#DO|SFALSE=(|
|000000a0| 30 29 00 00 3b 2f 2a 20 | 4d 6f 64 65 20 70 61 72 |0)..;/* |Mode par|
|000000b0| 61 6d 65 74 65 72 20 74 | 6f 20 4f 70 65 6e 28 29 |ameter t|o Open()|
|000000c0| 20 2a 2f 00 23 4d 4f 44 | 45 5f 4f 4c 44 46 49 4c | */.#MOD|E_OLDFIL|
|000000d0| 45 3d 31 30 30 35 3b 2f | 2a 20 4f 70 65 6e 20 65 |E=1005;/|* Open e|
|000000e0| 78 69 73 74 69 6e 67 20 | 66 69 6c 65 20 72 65 61 |xisting |file rea|
|000000f0| 64 2f 77 72 69 74 65 00 | 3b 20 20 20 20 20 20 20 |d/write.|; |
|00000100| 20 20 20 20 20 2a 20 70 | 6f 73 69 74 69 6f 6e 65 | * p|ositione|
|00000110| 64 20 61 74 20 62 65 67 | 69 6e 6e 69 6e 67 20 6f |d at beg|inning o|
|00000120| 66 20 66 69 6c 65 2e 20 | 2a 2f 00 23 4d 4f 44 45 |f file. |*/.#MODE|
|00000130| 5f 4e 45 57 46 49 4c 45 | 3d 31 30 30 36 3b 2f 2a |_NEWFILE|=1006;/*|
|00000140| 20 4f 70 65 6e 20 66 72 | 65 73 68 6c 79 20 63 72 | Open fr|eshly cr|
|00000150| 65 61 74 65 64 20 66 69 | 6c 65 20 28 64 65 6c 65 |eated fi|le (dele|
|00000160| 74 65 00 3b 20 20 20 20 | 20 20 20 20 20 20 20 20 |te.; | |
|00000170| 2a 20 6f 6c 64 20 66 69 | 6c 65 29 20 72 65 61 64 |* old fi|le) read|
|00000180| 2f 77 72 69 74 65 2c 20 | 65 78 63 6c 75 73 69 76 |/write, |exclusiv|
|00000190| 65 20 6c 6f 63 6b 2e 20 | 2a 2f 00 23 4d 4f 44 45 |e lock. |*/.#MODE|
|000001a0| 5f 52 45 41 44 57 52 49 | 54 45 3d 31 30 30 34 3b |_READWRI|TE=1004;|
|000001b0| 2f 2a 20 4f 70 65 6e 20 | 6f 6c 64 20 66 69 6c 65 |/* Open |old file|
|000001c0| 20 77 2f 73 68 61 72 65 | 64 20 6c 6f 63 6b 2c 00 | w/share|d lock,.|
|000001d0| 3b 20 20 20 20 20 20 20 | 20 20 20 20 20 2a 20 63 |; | * c|
|000001e0| 72 65 61 74 65 73 20 66 | 69 6c 65 20 69 66 20 64 |reates f|ile if d|
|000001f0| 6f 65 73 6e 27 74 20 65 | 78 69 73 74 2e 20 2a 2f |oesn't e|xist. */|
|00000200| 00 00 3b 2f 2a 20 52 65 | 6c 61 74 69 76 65 20 70 |..;/* Re|lative p|
|00000210| 6f 73 69 74 69 6f 6e 20 | 74 6f 20 53 65 65 6b 28 |osition |to Seek(|
|00000220| 29 20 2a 2f 00 23 4f 46 | 46 53 45 54 5f 42 45 47 |) */.#OF|FSET_BEG|
|00000230| 49 4e 4e 49 4e 47 3d 2d | 31 3b 2f 2a 20 72 65 6c |INNING=-|1;/* rel|
|00000240| 61 74 69 76 65 20 74 6f | 20 42 65 67 69 6e 69 6e |ative to| Beginin|
|00000250| 67 20 4f 66 20 46 69 6c | 65 20 2a 2f 00 23 4f 46 |g Of Fil|e */.#OF|
|00000260| 46 53 45 54 5f 43 55 52 | 52 45 4e 54 3d 30 3b 2f |FSET_CUR|RENT=0;/|
|00000270| 2a 20 72 65 6c 61 74 69 | 76 65 20 74 6f 20 43 75 |* relati|ve to Cu|
|00000280| 72 72 65 6e 74 20 66 69 | 6c 65 20 70 6f 73 69 74 |rrent fi|le posit|
|00000290| 69 6f 6e 20 2a 2f 00 23 | 4f 46 46 53 45 54 5f 45 |ion */.#|OFFSET_E|
|000002a0| 4e 44 3d 31 3b 2f 2a 20 | 72 65 6c 61 74 69 76 65 |ND=1;/* |relative|
|000002b0| 20 74 6f 20 45 6e 64 20 | 4f 66 20 46 69 6c 65 20 | to End |Of File |
|000002c0| 20 20 2a 2f 00 00 23 4f | 46 46 53 45 54 5f 42 45 | */..#O|FFSET_BE|
|000002d0| 47 49 4e 49 4e 47 3d 23 | 4f 46 46 53 45 54 5f 42 |GINING=#|OFFSET_B|
|000002e0| 45 47 49 4e 4e 49 4e 47 | 3b 2f 2a 20 61 6e 63 69 |EGINNING|;/* anci|
|000002f0| 65 6e 74 20 63 6f 6d 70 | 61 74 69 62 69 6c 69 74 |ent comp|atibilit|
|00000300| 79 20 2a 2f 00 00 23 42 | 49 54 53 50 45 52 42 59 |y */..#B|ITSPERBY|
|00000310| 54 45 3d 38 00 23 42 59 | 54 45 53 50 45 52 4c 4f |TE=8.#BY|TESPERLO|
|00000320| 4e 47 3d 34 00 23 42 49 | 54 53 50 45 52 4c 4f 4e |NG=4.#BI|TSPERLON|
|00000330| 47 3d 33 32 00 23 4d 41 | 58 49 4e 54 3d 24 37 46 |G=32.#MA|XINT=$7F|
|00000340| 46 46 46 46 46 46 00 23 | 4d 49 4e 49 4e 54 3d 24 |FFFFFF.#|MININT=$|
|00000350| 38 30 30 30 30 30 30 30 | 00 00 3b 2f 2a 20 50 61 |80000000|..;/* Pa|
|00000360| 73 73 65 64 20 61 73 20 | 74 79 70 65 20 74 6f 20 |ssed as |type to |
|00000370| 4c 6f 63 6b 28 29 20 2a | 2f 00 23 53 48 41 52 45 |Lock() *|/.#SHARE|
|00000380| 44 5f 4c 4f 43 4b 3d 2d | 32 3b 2f 2a 20 46 69 6c |D_LOCK=-|2;/* Fil|
|00000390| 65 20 69 73 20 72 65 61 | 64 61 62 6c 65 20 62 79 |e is rea|dable by|
|000003a0| 20 6f 74 68 65 72 73 20 | 2a 2f 00 23 41 43 43 45 | others |*/.#ACCE|
|000003b0| 53 53 5f 52 45 41 44 3d | 2d 32 3b 2f 2a 20 53 79 |SS_READ=|-2;/* Sy|
|000003c0| 6e 6f 6e 79 6d 20 2a 2f | 00 23 45 58 43 4c 55 53 |nonym */|.#EXCLUS|
|000003d0| 49 56 45 5f 4c 4f 43 4b | 3d 2d 31 3b 2f 2a 20 4e |IVE_LOCK|=-1;/* N|
|000003e0| 6f 20 6f 74 68 65 72 20 | 61 63 63 65 73 73 20 61 |o other |access a|
|000003f0| 6c 6c 6f 77 65 64 20 20 | 20 2a 2f 00 23 41 43 43 |llowed | */.#ACC|
|00000400| 45 53 53 5f 57 52 49 54 | 45 3d 2d 31 3b 2f 2a 20 |ESS_WRIT|E=-1;/* |
|00000410| 53 79 6e 6f 6e 79 6d 20 | 2a 2f 00 00 80 01 2e 44 |Synonym |*/.....D|
|00000420| 61 74 65 53 74 61 6d 70 | 00 64 73 5f 44 61 79 73 |ateStamp|.ds_Days|
|00000430| 2e 6c 20 3b 2f 2a 20 4e | 75 6d 62 65 72 20 6f 66 |.l ;/* N|umber of|
|00000440| 20 64 61 79 73 20 73 69 | 6e 63 65 20 4a 61 6e 2e | days si|nce Jan.|
|00000450| 20 31 2c 20 31 39 37 38 | 20 2a 2f 00 64 73 5f 4d | 1, 1978| */.ds_M|
|00000460| 69 6e 75 74 65 2e 6c 20 | 3b 2f 2a 20 4e 75 6d 62 |inute.l |;/* Numb|
|00000470| 65 72 20 6f 66 20 6d 69 | 6e 75 74 65 73 20 70 61 |er of mi|nutes pa|
|00000480| 73 74 20 6d 69 64 6e 69 | 67 68 74 20 2a 2f 00 64 |st midni|ght */.d|
|00000490| 73 5f 54 69 63 6b 2e 6c | 20 3b 2f 2a 20 4e 75 6d |s_Tick.l| ;/* Num|
|000004a0| 62 65 72 20 6f 66 20 74 | 69 63 6b 73 20 70 61 73 |ber of t|icks pas|
|000004b0| 74 20 6d 69 6e 75 74 65 | 20 2a 2f 00 80 02 20 80 |t minute| */... .|
|000004c0| 01 00 3b 2f 2a 20 44 61 | 74 65 53 74 61 6d 70 20 |..;/* Da|teStamp |
|000004d0| 2a 2f 00 00 23 54 49 43 | 4b 53 5f 50 45 52 5f 53 |*/..#TIC|KS_PER_S|
|000004e0| 45 43 4f 4e 44 3d 35 30 | 3b 2f 2a 20 4e 75 6d 62 |ECOND=50|;/* Numb|
|000004f0| 65 72 20 6f 66 20 74 69 | 63 6b 73 20 69 6e 20 6f |er of ti|cks in o|
|00000500| 6e 65 20 73 65 63 6f 6e | 64 20 2a 2f 00 00 3b 2f |ne secon|d */..;/|
|00000510| 2a 20 52 65 74 75 72 6e | 65 64 20 62 79 20 45 78 |* Return|ed by Ex|
|00000520| 61 6d 69 6e 65 28 29 20 | 61 6e 64 20 45 78 4e 65 |amine() |and ExNe|
|00000530| 78 74 28 29 2c 20 6d 75 | 73 74 20 62 65 20 6f 6e |xt(), mu|st be on|
|00000540| 20 61 20 34 20 62 79 74 | 65 20 62 6f 75 6e 64 61 | a 4 byt|e bounda|
|00000550| 72 79 20 2a 2f 00 80 01 | 2e 46 69 6c 65 49 6e 66 |ry */...|.FileInf|
|00000560| 6f 42 6c 6f 63 6b 00 66 | 69 62 5f 44 69 73 6b 4b |oBlock.f|ib_DiskK|
|00000570| 65 79 2e 6c 00 66 69 62 | 5f 44 69 72 45 6e 74 72 |ey.l.fib|_DirEntr|
|00000580| 79 54 79 70 65 2e 6c 20 | 3b 2f 2a 20 54 79 70 65 |yType.l |;/* Type|
|00000590| 20 6f 66 20 44 69 72 65 | 63 74 6f 72 79 2e 20 49 | of Dire|ctory. I|
|000005a0| 66 20 3c 20 30 2c 20 74 | 68 65 6e 20 61 20 70 6c |f < 0, t|hen a pl|
|000005b0| 61 69 6e 20 66 69 6c 65 | 2e 00 3b 20 20 20 20 20 |ain file|..; |
|000005c0| 20 20 20 20 20 20 2a 20 | 49 66 20 3e 20 30 20 61 | * |If > 0 a|
|000005d0| 20 64 69 72 65 63 74 6f | 72 79 20 2a 2f 00 66 69 | directo|ry */.fi|
|000005e0| 62 5f 46 69 6c 65 4e 61 | 6d 65 2e 62 5b 31 30 38 |b_FileNa|me.b[108|
|000005f0| 5d 3b 20 2f 2a 20 4e 75 | 6c 6c 20 74 65 72 6d 69 |]; /* Nu|ll termi|
|00000600| 6e 61 74 65 64 2e 20 4d | 61 78 20 33 30 20 63 68 |nated. M|ax 30 ch|
|00000610| 61 72 73 20 75 73 65 64 | 20 66 6f 72 20 6e 6f 77 |ars used| for now|
|00000620| 00 3b 2f 2a 20 4e 75 6c | 6c 20 74 65 72 6d 69 6e |.;/* Nul|l termin|
|00000630| 61 74 65 64 2e 20 4d 61 | 78 20 33 30 20 63 68 61 |ated. Ma|x 30 cha|
|00000640| 72 73 20 75 73 65 64 20 | 66 6f 72 20 6e 6f 77 20 |rs used |for now |
|00000650| 2a 2f 00 66 69 62 5f 50 | 72 6f 74 65 63 74 69 6f |*/.fib_P|rotectio|
|00000660| 6e 2e 6c 20 3b 2f 2a 20 | 62 69 74 20 6d 61 73 6b |n.l ;/* |bit mask|
|00000670| 20 6f 66 20 70 72 6f 74 | 65 63 74 69 6f 6e 2c 20 | of prot|ection, |
|00000680| 72 77 78 64 20 61 72 65 | 20 33 2d 30 2e 20 20 20 |rwxd are| 3-0. |
|00000690| 20 2a 2f 00 66 69 62 5f | 45 6e 74 72 79 54 79 70 | */.fib_|EntryTyp|
|000006a0| 65 2e 6c 00 66 69 62 5f | 53 69 7a 65 2e 6c 20 3b |e.l.fib_|Size.l ;|
|000006b0| 2f 2a 20 4e 75 6d 62 65 | 72 20 6f 66 20 62 79 74 |/* Numbe|r of byt|
|000006c0| 65 73 20 69 6e 20 66 69 | 6c 65 20 2a 2f 00 66 69 |es in fi|le */.fi|
|000006d0| 62 5f 4e 75 6d 42 6c 6f | 63 6b 73 2e 6c 20 3b 2f |b_NumBlo|cks.l ;/|
|000006e0| 2a 20 4e 75 6d 62 65 72 | 20 6f 66 20 62 6c 6f 63 |* Number| of bloc|
|000006f0| 6b 73 20 69 6e 20 66 69 | 6c 65 20 2a 2f 00 66 69 |ks in fi|le */.fi|
|00000700| 62 5f 44 61 74 65 2e 44 | 61 74 65 53 74 61 6d 70 |b_Date.D|ateStamp|
|00000710| 3b 2f 2a 20 44 61 74 65 | 20 66 69 6c 65 20 6c 61 |;/* Date| file la|
|00000720| 73 74 20 63 68 61 6e 67 | 65 64 20 2a 2f 00 66 69 |st chang|ed */.fi|
|00000730| 62 5f 43 6f 6d 6d 65 6e | 74 2e 62 5b 38 30 5d 3b |b_Commen|t.b[80];|
|00000740| 20 20 2f 2a 20 4e 75 6c | 6c 20 74 65 72 6d 69 6e | /* Nul|l termin|
|00000750| 61 74 65 64 20 63 6f 6d | 6d 65 6e 74 20 61 73 73 |ated com|ment ass|
|00000760| 6f 63 69 61 74 65 64 20 | 77 69 74 68 20 66 69 6c |ociated |with fil|
|00000770| 65 20 2a 2f 00 00 3b 2f | 2a 20 4e 6f 74 65 3a 20 |e */..;/|* Note: |
|00000780| 74 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 20 66 69 |the foll|owing fi|
|00000790| 65 6c 64 73 20 61 72 65 | 20 6e 6f 74 20 73 75 70 |elds are| not sup|
|000007a0| 70 6f 72 74 65 64 20 62 | 79 20 61 6c 6c 20 66 69 |ported b|y all fi|
|000007b0| 6c 65 73 79 73 74 65 6d | 73 2e 20 2a 2f 00 3b 2f |lesystem|s. */.;/|
|000007c0| 2a 20 54 68 65 79 20 73 | 68 6f 75 6c 64 20 62 65 |* They s|hould be|
|000007d0| 20 69 6e 69 74 69 61 6c | 69 7a 65 64 20 74 6f 20 | initial|ized to |
|000007e0| 30 20 73 65 6e 64 69 6e | 67 20 61 6e 20 41 43 54 |0 sendin|g an ACT|
|000007f0| 49 4f 4e 5f 45 58 41 4d | 49 4e 45 20 70 61 63 6b |ION_EXAM|INE pack|
|00000800| 65 74 2e 20 2a 2f 00 3b | 2f 2a 20 57 68 65 6e 20 |et. */.;|/* When |
|00000810| 45 78 61 6d 69 6e 65 28 | 29 20 69 73 20 63 61 6c |Examine(|) is cal|
|00000820| 6c 65 64 2c 20 74 68 65 | 73 65 20 61 72 65 20 73 |led, the|se are s|
|00000830| 65 74 20 74 6f 20 30 20 | 66 6f 72 20 79 6f 75 2e |et to 0 |for you.|
|00000840| 20 20 2a 2f 00 3b 2f 2a | 20 41 6c 6c 6f 63 44 6f | */.;/*| AllocDo|
|00000850| 73 4f 62 6a 65 63 74 28 | 29 20 61 6c 73 6f 20 69 |sObject(|) also i|
|00000860| 6e 69 74 69 61 6c 69 7a | 65 73 20 74 68 65 6d 20 |nitializ|es them |
|00000870| 74 6f 20 30 2e 20 20 20 | 2a 2f 00 66 69 62 5f 4f |to 0. |*/.fib_O|
|00000880| 77 6e 65 72 55 49 44 2e | 77 20 3b 2f 2a 20 6f 77 |wnerUID.|w ;/* ow|
|00000890| 6e 65 72 27 73 20 55 49 | 44 20 2a 2f 00 66 69 62 |ner's UI|D */.fib|
|000008a0| 5f 4f 77 6e 65 72 47 49 | 44 2e 77 20 3b 2f 2a 20 |_OwnerGI|D.w ;/* |
|000008b0| 6f 77 6e 65 72 27 73 20 | 47 49 44 20 2a 2f 00 00 |owner's |GID */..|
|000008c0| 66 69 62 5f 52 65 73 65 | 72 76 65 2e 62 5b 33 32 |fib_Rese|rve.b[32|
|000008d0| 5d 00 80 02 20 80 01 00 | 3b 2f 2a 20 46 69 6c 65 |]... ...|;/* File|
|000008e0| 49 6e 66 6f 42 6c 6f 63 | 6b 20 2a 2f 00 00 3b 2f |InfoBloc|k */..;/|
|000008f0| 2a 20 46 49 42 20 73 74 | 61 6e 64 73 20 66 6f 72 |* FIB st|ands for|
|00000900| 20 46 69 6c 65 49 6e 66 | 6f 42 6c 6f 63 6b 20 2a | FileInf|oBlock *|
|00000910| 2f 00 00 3b 2f 2a 20 46 | 49 42 42 20 61 72 65 20 |/..;/* F|IBB are |
|00000920| 62 69 74 20 64 65 66 69 | 6e 69 74 69 6f 6e 73 2c |bit defi|nitions,|
|00000930| 20 46 49 42 46 20 61 72 | 65 20 66 69 65 6c 64 20 | FIBF ar|e field |
|00000940| 64 65 66 69 6e 69 74 69 | 6f 6e 73 20 2a 2f 00 3b |definiti|ons */.;|
|00000950| 2f 2a 20 52 65 67 75 6c | 61 72 20 52 57 45 44 20 |/* Regul|ar RWED |
|00000960| 62 69 74 73 20 61 72 65 | 20 30 20 3d 3d 20 61 6c |bits are| 0 == al|
|00000970| 6c 6f 77 65 64 2e 20 2a | 2f 00 3b 2f 2a 20 4e 4f |lowed. *|/.;/* NO|
|00000980| 54 45 3a 20 47 52 50 20 | 61 6e 64 20 4f 54 52 20 |TE: GRP |and OTR |
|00000990| 52 57 45 44 20 70 65 72 | 6d 69 73 73 69 6f 6e 73 |RWED per|missions|
|000009a0| 20 61 72 65 20 30 20 3d | 3d 20 6e 6f 74 20 61 6c | are 0 =|= not al|
|000009b0| 6c 6f 77 65 64 21 20 2a | 2f 00 3b 2f 2a 20 47 72 |lowed! *|/.;/* Gr|
|000009c0| 6f 75 70 20 61 6e 64 20 | 4f 74 68 65 72 20 70 65 |oup and |Other pe|
|000009d0| 72 6d 69 73 73 69 6f 6e | 73 20 61 72 65 20 6e 6f |rmission|s are no|
|000009e0| 74 20 64 69 72 65 63 74 | 6c 79 20 68 61 6e 64 6c |t direct|ly handl|
|000009f0| 65 64 20 62 79 20 74 68 | 65 20 66 69 6c 65 73 79 |ed by th|e filesy|
|00000a00| 73 74 65 6d 20 2a 2f 00 | 23 46 49 42 42 5f 4f 54 |stem */.|#FIBB_OT|
|00000a10| 52 5f 52 45 41 44 3d 31 | 35 3b 2f 2a 20 4f 74 68 |R_READ=1|5;/* Oth|
|00000a20| 65 72 3a 20 66 69 6c 65 | 20 69 73 20 72 65 61 64 |er: file| is read|
|00000a30| 61 62 6c 65 20 2a 2f 00 | 23 46 49 42 42 5f 4f 54 |able */.|#FIBB_OT|
|00000a40| 52 5f 57 52 49 54 45 3d | 31 34 3b 2f 2a 20 4f 74 |R_WRITE=|14;/* Ot|
|00000a50| 68 65 72 3a 20 66 69 6c | 65 20 69 73 20 77 72 69 |her: fil|e is wri|
|00000a60| 74 61 62 6c 65 20 2a 2f | 00 23 46 49 42 42 5f 4f |table */|.#FIBB_O|
|00000a70| 54 52 5f 45 58 45 43 55 | 54 45 3d 31 33 3b 2f 2a |TR_EXECU|TE=13;/*|
|00000a80| 20 4f 74 68 65 72 3a 20 | 66 69 6c 65 20 69 73 20 | Other: |file is |
|00000a90| 65 78 65 63 75 74 61 62 | 6c 65 20 2a 2f 00 23 46 |executab|le */.#F|
|00000aa0| 49 42 42 5f 4f 54 52 5f | 44 45 4c 45 54 45 3d 31 |IBB_OTR_|DELETE=1|
|00000ab0| 32 3b 2f 2a 20 4f 74 68 | 65 72 3a 20 70 72 65 76 |2;/* Oth|er: prev|
|00000ac0| 65 6e 74 20 66 69 6c 65 | 20 66 72 6f 6d 20 62 65 |ent file| from be|
|00000ad0| 69 6e 67 20 64 65 6c 65 | 74 65 64 20 2a 2f 00 23 |ing dele|ted */.#|
|00000ae0| 46 49 42 42 5f 47 52 50 | 5f 52 45 41 44 3d 31 31 |FIBB_GRP|_READ=11|
|00000af0| 3b 2f 2a 20 47 72 6f 75 | 70 3a 20 66 69 6c 65 20 |;/* Grou|p: file |
|00000b00| 69 73 20 72 65 61 64 61 | 62 6c 65 20 2a 2f 00 23 |is reada|ble */.#|
|00000b10| 46 49 42 42 5f 47 52 50 | 5f 57 52 49 54 45 3d 31 |FIBB_GRP|_WRITE=1|
|00000b20| 30 3b 2f 2a 20 47 72 6f | 75 70 3a 20 66 69 6c 65 |0;/* Gro|up: file|
|00000b30| 20 69 73 20 77 72 69 74 | 61 62 6c 65 20 2a 2f 00 | is writ|able */.|
|00000b40| 23 46 49 42 42 5f 47 52 | 50 5f 45 58 45 43 55 54 |#FIBB_GR|P_EXECUT|
|00000b50| 45 3d 39 3b 2f 2a 20 47 | 72 6f 75 70 3a 20 66 69 |E=9;/* G|roup: fi|
|00000b60| 6c 65 20 69 73 20 65 78 | 65 63 75 74 61 62 6c 65 |le is ex|ecutable|
|00000b70| 20 2a 2f 00 23 46 49 42 | 42 5f 47 52 50 5f 44 45 | */.#FIB|B_GRP_DE|
|00000b80| 4c 45 54 45 3d 38 3b 2f | 2a 20 47 72 6f 75 70 3a |LETE=8;/|* Group:|
|00000b90| 20 70 72 65 76 65 6e 74 | 20 66 69 6c 65 20 66 72 | prevent| file fr|
|00000ba0| 6f 6d 20 62 65 69 6e 67 | 20 64 65 6c 65 74 65 64 |om being| deleted|
|00000bb0| 20 2a 2f 00 00 23 46 49 | 42 42 5f 53 43 52 49 50 | */..#FI|BB_SCRIP|
|00000bc0| 54 3d 36 3b 2f 2a 20 70 | 72 6f 67 72 61 6d 20 69 |T=6;/* p|rogram i|
|00000bd0| 73 20 61 20 73 63 72 69 | 70 74 20 28 65 78 65 63 |s a scri|pt (exec|
|00000be0| 75 74 65 29 20 66 69 6c | 65 20 2a 2f 00 23 46 49 |ute) fil|e */.#FI|
|00000bf0| 42 42 5f 50 55 52 45 3d | 35 3b 2f 2a 20 70 72 6f |BB_PURE=|5;/* pro|
|00000c00| 67 72 61 6d 20 69 73 20 | 72 65 65 6e 74 72 61 6e |gram is |reentran|
|00000c10| 74 20 61 6e 64 20 72 65 | 78 65 63 75 74 61 62 6c |t and re|xecutabl|
|00000c20| 65 20 2a 2f 00 23 46 49 | 42 42 5f 41 52 43 48 49 |e */.#FI|BB_ARCHI|
|00000c30| 56 45 3d 34 3b 2f 2a 20 | 63 6c 65 61 72 65 64 20 |VE=4;/* |cleared |
|00000c40| 77 68 65 6e 65 76 65 72 | 20 66 69 6c 65 20 69 73 |whenever| file is|
|00000c50| 20 63 68 61 6e 67 65 64 | 20 2a 2f 00 23 46 49 42 | changed| */.#FIB|
|00000c60| 42 5f 52 45 41 44 3d 33 | 3b 2f 2a 20 69 67 6e 6f |B_READ=3|;/* igno|
|00000c70| 72 65 64 20 62 79 20 6f | 6c 64 20 66 69 6c 65 73 |red by o|ld files|
|00000c80| 79 73 74 65 6d 20 2a 2f | 00 23 46 49 42 42 5f 57 |ystem */|.#FIBB_W|
|00000c90| 52 49 54 45 3d 32 3b 2f | 2a 20 69 67 6e 6f 72 65 |RITE=2;/|* ignore|
|00000ca0| 64 20 62 79 20 6f 6c 64 | 20 66 69 6c 65 73 79 73 |d by old| filesys|
|00000cb0| 74 65 6d 20 2a 2f 00 23 | 46 49 42 42 5f 45 58 45 |tem */.#|FIBB_EXE|
|00000cc0| 43 55 54 45 3d 31 3b 2f | 2a 20 69 67 6e 6f 72 65 |CUTE=1;/|* ignore|
|00000cd0| 64 20 62 79 20 73 79 73 | 74 65 6d 2c 20 75 73 65 |d by sys|tem, use|
|00000ce0| 64 20 62 79 20 53 68 65 | 6c 6c 20 2a 2f 00 23 46 |d by She|ll */.#F|
|00000cf0| 49 42 42 5f 44 45 4c 45 | 54 45 3d 30 3b 2f 2a 20 |IBB_DELE|TE=0;/* |
|00000d00| 70 72 65 76 65 6e 74 20 | 66 69 6c 65 20 66 72 6f |prevent |file fro|
|00000d10| 6d 20 62 65 69 6e 67 20 | 64 65 6c 65 74 65 64 20 |m being |deleted |
|00000d20| 2a 2f 00 00 23 46 49 42 | 46 5f 4f 54 52 5f 52 45 |*/..#FIB|F_OTR_RE|
|00000d30| 41 44 3d 28 31 80 7c 23 | 46 49 42 42 5f 4f 54 52 |AD=(1.|#|FIBB_OTR|
|00000d40| 5f 52 45 41 44 29 00 23 | 46 49 42 46 5f 4f 54 52 |_READ).#|FIBF_OTR|
|00000d50| 5f 57 52 49 54 45 3d 28 | 31 80 7c 23 46 49 42 42 |_WRITE=(|1.|#FIBB|
|00000d60| 5f 4f 54 52 5f 57 52 49 | 54 45 29 00 23 46 49 42 |_OTR_WRI|TE).#FIB|
|00000d70| 46 5f 4f 54 52 5f 45 58 | 45 43 55 54 45 3d 28 31 |F_OTR_EX|ECUTE=(1|
|00000d80| 80 7c 23 46 49 42 42 5f | 4f 54 52 5f 45 58 45 43 |.|#FIBB_|OTR_EXEC|
|00000d90| 55 54 45 29 00 23 46 49 | 42 46 5f 4f 54 52 5f 44 |UTE).#FI|BF_OTR_D|
|00000da0| 45 4c 45 54 45 3d 28 31 | 80 7c 23 46 49 42 42 5f |ELETE=(1|.|#FIBB_|
|00000db0| 4f 54 52 5f 44 45 4c 45 | 54 45 29 00 23 46 49 42 |OTR_DELE|TE).#FIB|
|00000dc0| 46 5f 47 52 50 5f 52 45 | 41 44 3d 28 31 80 7c 23 |F_GRP_RE|AD=(1.|#|
|00000dd0| 46 49 42 42 5f 47 52 50 | 5f 52 45 41 44 29 00 23 |FIBB_GRP|_READ).#|
|00000de0| 46 49 42 46 5f 47 52 50 | 5f 57 52 49 54 45 3d 28 |FIBF_GRP|_WRITE=(|
|00000df0| 31 80 7c 23 46 49 42 42 | 5f 47 52 50 5f 57 52 49 |1.|#FIBB|_GRP_WRI|
|00000e00| 54 45 29 00 23 46 49 42 | 46 5f 47 52 50 5f 45 58 |TE).#FIB|F_GRP_EX|
|00000e10| 45 43 55 54 45 3d 28 31 | 80 7c 23 46 49 42 42 5f |ECUTE=(1|.|#FIBB_|
|00000e20| 47 52 50 5f 45 58 45 43 | 55 54 45 29 00 23 46 49 |GRP_EXEC|UTE).#FI|
|00000e30| 42 46 5f 47 52 50 5f 44 | 45 4c 45 54 45 3d 28 31 |BF_GRP_D|ELETE=(1|
|00000e40| 80 7c 23 46 49 42 42 5f | 47 52 50 5f 44 45 4c 45 |.|#FIBB_|GRP_DELE|
|00000e50| 54 45 29 00 00 23 46 49 | 42 46 5f 53 43 52 49 50 |TE)..#FI|BF_SCRIP|
|00000e60| 54 3d 28 31 80 7c 23 46 | 49 42 42 5f 53 43 52 49 |T=(1.|#F|IBB_SCRI|
|00000e70| 50 54 29 00 23 46 49 42 | 46 5f 50 55 52 45 3d 28 |PT).#FIB|F_PURE=(|
|00000e80| 31 80 7c 23 46 49 42 42 | 5f 50 55 52 45 29 00 23 |1.|#FIBB|_PURE).#|
|00000e90| 46 49 42 46 5f 41 52 43 | 48 49 56 45 3d 28 31 80 |FIBF_ARC|HIVE=(1.|
|00000ea0| 7c 23 46 49 42 42 5f 41 | 52 43 48 49 56 45 29 00 ||#FIBB_A|RCHIVE).|
|00000eb0| 23 46 49 42 46 5f 52 45 | 41 44 3d 28 31 80 7c 23 |#FIBF_RE|AD=(1.|#|
|00000ec0| 46 49 42 42 5f 52 45 41 | 44 29 00 23 46 49 42 46 |FIBB_REA|D).#FIBF|
|00000ed0| 5f 57 52 49 54 45 3d 28 | 31 80 7c 23 46 49 42 42 |_WRITE=(|1.|#FIBB|
|00000ee0| 5f 57 52 49 54 45 29 00 | 23 46 49 42 46 5f 45 58 |_WRITE).|#FIBF_EX|
|00000ef0| 45 43 55 54 45 3d 28 31 | 80 7c 23 46 49 42 42 5f |ECUTE=(1|.|#FIBB_|
|00000f00| 45 58 45 43 55 54 45 29 | 00 23 46 49 42 46 5f 44 |EXECUTE)|.#FIBF_D|
|00000f10| 45 4c 45 54 45 3d 28 31 | 80 7c 23 46 49 42 42 5f |ELETE=(1|.|#FIBB_|
|00000f20| 44 45 4c 45 54 45 29 00 | 00 3b 2f 2a 20 53 74 61 |DELETE).|.;/* Sta|
|00000f30| 6e 64 61 72 64 20 6d 61 | 78 69 6d 75 6d 20 6c 65 |ndard ma|ximum le|
|00000f40| 6e 67 74 68 20 66 6f 72 | 20 61 6e 20 65 72 72 6f |ngth for| an erro|
|00000f50| 72 20 73 74 72 69 6e 67 | 20 66 72 6f 6d 20 66 61 |r string| from fa|
|00000f60| 75 6c 74 2e 20 20 48 6f | 77 65 76 65 72 2c 20 6d |ult. Ho|wever, m|
|00000f70| 6f 73 74 20 2a 2f 00 3b | 2f 2a 20 65 72 72 6f 72 |ost */.;|/* error|
|00000f80| 20 73 74 72 69 6e 67 73 | 20 73 68 6f 75 6c 64 20 | strings| should |
|00000f90| 62 65 20 6b 65 70 74 20 | 75 6e 64 65 72 20 36 30 |be kept |under 60|
|00000fa0| 20 63 68 61 72 61 63 74 | 65 72 73 20 69 66 20 70 | charact|ers if p|
|00000fb0| 6f 73 73 69 62 6c 65 2e | 20 20 44 6f 6e 27 74 20 |ossible.| Don't |
|00000fc0| 20 20 2a 2f 00 3b 2f 2a | 20 66 6f 72 67 65 74 20 | */.;/*| forget |
|00000fd0| 73 70 61 63 65 20 66 6f | 72 20 74 68 65 20 68 65 |space fo|r the he|
|00000fe0| 61 64 65 72 20 79 6f 75 | 20 70 61 73 73 20 69 6e |ader you| pass in|
|00000ff0| 2e 20 2a 2f 00 23 46 41 | 55 4c 54 5f 4d 41 58 3d |. */.#FA|ULT_MAX=|
|00001000| 38 32 00 00 3b 2f 2a 20 | 41 6c 6c 20 42 43 50 4c |82..;/* |All BCPL|
|00001010| 20 64 61 74 61 20 6d 75 | 73 74 20 62 65 20 6c 6f | data mu|st be lo|
|00001020| 6e 67 20 77 6f 72 64 20 | 61 6c 69 67 6e 65 64 2e |ng word |aligned.|
|00001030| 20 20 42 43 50 4c 20 70 | 6f 69 6e 74 65 72 73 20 | BCPL p|ointers |
|00001040| 61 72 65 20 74 68 65 20 | 6c 6f 6e 67 20 77 6f 72 |are the |long wor|
|00001050| 64 00 3b 20 2a 20 20 61 | 64 64 72 65 73 73 20 28 |d.; * a|ddress (|
|00001060| 69 2e 65 20 62 79 74 65 | 20 61 64 64 72 65 73 73 |i.e byte| address|
|00001070| 20 64 69 76 69 64 65 64 | 20 62 79 20 34 20 28 3e | divided| by 4 (>|
|00001080| 3e 32 29 29 20 2a 2f 00 | 3b 74 79 70 65 64 65 66 |>2)) */.|;typedef|
|00001090| 20 6c 6f 6e 67 20 20 42 | 50 54 52 3b 20 20 20 20 | long B|PTR; |
|000010a0| 20 20 2f 2a 20 4c 6f 6e | 67 20 77 6f 72 64 20 70 | /* Lon|g word p|
|000010b0| 6f 69 6e 74 65 72 20 2a | 2f 00 3b 2f 2a 20 4c 6f |ointer *|/.;/* Lo|
|000010c0| 6e 67 20 77 6f 72 64 20 | 70 6f 69 6e 74 65 72 20 |ng word |pointer |
|000010d0| 2a 2f 00 3b 74 79 70 65 | 64 65 66 20 6c 6f 6e 67 |*/.;type|def long|
|000010e0| 20 20 42 53 54 52 3b 20 | 20 20 20 20 20 2f 2a 20 | BSTR; | /* |
|000010f0| 4c 6f 6e 67 20 77 6f 72 | 64 20 70 6f 69 6e 74 65 |Long wor|d pointe|
|00001100| 72 20 74 6f 20 42 43 50 | 4c 20 73 74 72 69 6e 67 |r to BCP|L string|
|00001110| 20 20 2a 2f 00 3b 2f 2a | 20 4c 6f 6e 67 20 77 6f | */.;/*| Long wo|
|00001120| 72 64 20 70 6f 69 6e 74 | 65 72 20 74 6f 20 42 43 |rd point|er to BC|
|00001130| 50 4c 20 73 74 72 69 6e | 67 20 20 2a 2f 00 00 3b |PL strin|g */..;|
|00001140| 2f 2a 20 43 6f 6e 76 65 | 72 74 20 42 50 54 52 20 |/* Conve|rt BPTR |
|00001150| 74 6f 20 74 79 70 69 63 | 61 6c 20 43 20 70 6f 69 |to typic|al C poi|
|00001160| 6e 74 65 72 20 2a 2f 00 | 3b 23 69 66 64 65 66 20 |nter */.|;#ifdef |
|00001170| 4f 42 53 4f 4c 45 54 45 | 5f 4c 49 42 52 41 52 49 |OBSOLETE|_LIBRARI|
|00001180| 45 53 5f 44 4f 53 5f 48 | 00 80 0d 20 42 41 44 44 |ES_DOS_H|... BADD|
|00001190| 52 3a 28 28 60 31 29 80 | 7c 32 29 3a 80 02 20 80 |R:((`1).||2):.. .|
|000011a0| 0d 00 3b 23 65 6c 73 65 | 00 3b 2f 2a 20 54 68 69 |..;#else|.;/* Thi|
|000011b0| 73 20 6f 6e 65 20 68 61 | 73 20 6e 6f 20 70 72 6f |s one ha|s no pro|
|000011c0| 62 6c 65 6d 73 20 77 69 | 74 68 20 43 41 53 54 69 |blems wi|th CASTi|
|000011d0| 6e 67 20 2a 2f 00 80 0d | 20 42 41 44 44 52 32 3a |ng */...| BADDR2:|
|000011e0| 28 28 2a 60 31 29 80 7c | 32 29 3a 80 02 20 80 0d |((*`1).||2):.. ..|
|000011f0| 00 3b 23 65 6e 64 69 66 | 00 3b 2f 2a 20 43 6f 6e |.;#endif|.;/* Con|
|00001200| 76 65 72 74 20 61 64 64 | 72 65 73 73 20 69 6e 74 |vert add|ress int|
|00001210| 6f 20 61 20 42 50 54 52 | 20 2a 2f 00 80 0d 20 4d |o a BPTR| */... M|
|00001220| 4b 42 41 44 44 52 3a 28 | 28 60 31 29 80 7d 32 29 |KBADDR:(|(`1).}2)|
|00001230| 3a 80 02 20 80 0d 00 00 | 3b 2f 2a 20 42 43 50 4c |:.. ....|;/* BCPL|
|00001240| 20 73 74 72 69 6e 67 73 | 20 68 61 76 65 20 61 20 | strings| have a |
|00001250| 6c 65 6e 67 74 68 20 69 | 6e 20 74 68 65 20 66 69 |length i|n the fi|
|00001260| 72 73 74 20 62 79 74 65 | 20 61 6e 64 20 74 68 65 |rst byte| and the|
|00001270| 6e 20 74 68 65 20 63 68 | 61 72 61 63 74 65 72 73 |n the ch|aracters|
|00001280| 2e 00 3b 20 2a 20 46 6f | 72 20 65 78 61 6d 70 6c |..; * Fo|r exampl|
|00001290| 65 3a 20 20 20 73 5b 30 | 5d 3d 33 20 73 5b 31 5d |e: s[0|]=3 s[1]|
|000012a0| 3d 53 20 73 5b 32 5d 3d | 59 20 73 5b 33 5d 3d 53 |=S s[2]=|Y s[3]=S|
|000012b0| 20 20 20 20 20 20 20 20 | 20 2a 2f 00 00 3b 2f 2a | | */..;/*|
|000012c0| 20 72 65 74 75 72 6e 65 | 64 20 62 79 20 49 6e 66 | returne|d by Inf|
|000012d0| 6f 28 29 2c 20 6d 75 73 | 74 20 62 65 20 6f 6e 20 |o(), mus|t be on |
|000012e0| 61 20 34 20 62 79 74 65 | 20 62 6f 75 6e 64 61 72 |a 4 byte| boundar|
|000012f0| 79 20 2a 2f 00 80 01 2e | 49 6e 66 6f 44 61 74 61 |y */....|InfoData|
|00001300| 00 69 64 5f 4e 75 6d 53 | 6f 66 74 45 72 72 6f 72 |.id_NumS|oftError|
|00001310| 73 2e 6c 20 3b 2f 2a 20 | 6e 75 6d 62 65 72 20 6f |s.l ;/* |number o|
|00001320| 66 20 73 6f 66 74 20 65 | 72 72 6f 72 73 20 6f 6e |f soft e|rrors on|
|00001330| 20 64 69 73 6b 20 2a 2f | 00 69 64 5f 55 6e 69 74 | disk */|.id_Unit|
|00001340| 4e 75 6d 62 65 72 2e 6c | 20 3b 2f 2a 20 57 68 69 |Number.l| ;/* Whi|
|00001350| 63 68 20 75 6e 69 74 20 | 64 69 73 6b 20 69 73 20 |ch unit |disk is |
|00001360| 28 77 61 73 29 20 6d 6f | 75 6e 74 65 64 20 6f 6e |(was) mo|unted on|
|00001370| 20 2a 2f 00 69 64 5f 44 | 69 73 6b 53 74 61 74 65 | */.id_D|iskState|
|00001380| 2e 6c 20 3b 2f 2a 20 53 | 65 65 20 64 65 66 69 6e |.l ;/* S|ee defin|
|00001390| 65 73 20 62 65 6c 6f 77 | 20 2a 2f 00 69 64 5f 4e |es below| */.id_N|
|000013a0| 75 6d 42 6c 6f 63 6b 73 | 2e 6c 20 3b 2f 2a 20 4e |umBlocks|.l ;/* N|
|000013b0| 75 6d 62 65 72 20 6f 66 | 20 62 6c 6f 63 6b 73 20 |umber of| blocks |
|000013c0| 6f 6e 20 64 69 73 6b 20 | 2a 2f 00 69 64 5f 4e 75 |on disk |*/.id_Nu|
|000013d0| 6d 42 6c 6f 63 6b 73 55 | 73 65 64 2e 6c 20 3b 2f |mBlocksU|sed.l ;/|
|000013e0| 2a 20 4e 75 6d 62 65 72 | 20 6f 66 20 62 6c 6f 63 |* Number| of bloc|
|000013f0| 6b 20 69 6e 20 75 73 65 | 20 2a 2f 00 69 64 5f 42 |k in use| */.id_B|
|00001400| 79 74 65 73 50 65 72 42 | 6c 6f 63 6b 2e 6c 00 69 |ytesPerB|lock.l.i|
|00001410| 64 5f 44 69 73 6b 54 79 | 70 65 2e 6c 20 3b 2f 2a |d_DiskTy|pe.l ;/*|
|00001420| 20 44 69 73 6b 20 54 79 | 70 65 20 63 6f 64 65 20 | Disk Ty|pe code |
|00001430| 2a 2f 00 2a 69 64 5f 56 | 6f 6c 75 6d 65 4e 6f 64 |*/.*id_V|olumeNod|
|00001440| 65 2e 62 20 3b 2f 2a 20 | 42 43 50 4c 20 70 6f 69 |e.b ;/* |BCPL poi|
|00001450| 6e 74 65 72 20 74 6f 20 | 76 6f 6c 75 6d 65 20 6e |nter to |volume n|
|00001460| 6f 64 65 20 2a 2f 00 69 | 64 5f 49 6e 55 73 65 2e |ode */.i|d_InUse.|
|00001470| 6c 20 3b 2f 2a 20 46 6c | 61 67 2c 20 7a 65 72 6f |l ;/* Fl|ag, zero|
|00001480| 20 69 66 20 6e 6f 74 20 | 69 6e 20 75 73 65 20 2a | if not |in use *|
|00001490| 2f 00 80 02 20 80 01 00 | 3b 2f 2a 20 49 6e 66 6f |/... ...|;/* Info|
|000014a0| 44 61 74 61 20 2a 2f 00 | 00 3b 2f 2a 20 49 44 20 |Data */.|.;/* ID |
|000014b0| 73 74 61 6e 64 73 20 66 | 6f 72 20 49 6e 66 6f 44 |stands f|or InfoD|
|000014c0| 61 74 61 20 2a 2f 00 3b | 2f 2a 20 44 69 73 6b 20 |ata */.;|/* Disk |
|000014d0| 73 74 61 74 65 73 20 2a | 2f 00 23 49 44 5f 57 52 |states *|/.#ID_WR|
|000014e0| 49 54 45 5f 50 52 4f 54 | 45 43 54 45 44 3d 38 30 |ITE_PROT|ECTED=80|
|000014f0| 3b 2f 2a 20 44 69 73 6b | 20 69 73 20 77 72 69 74 |;/* Disk| is writ|
|00001500| 65 20 70 72 6f 74 65 63 | 74 65 64 20 2a 2f 00 23 |e protec|ted */.#|
|00001510| 49 44 5f 56 41 4c 49 44 | 41 54 49 4e 47 3d 38 31 |ID_VALID|ATING=81|
|00001520| 3b 2f 2a 20 44 69 73 6b | 20 69 73 20 63 75 72 72 |;/* Disk| is curr|
|00001530| 65 6e 74 6c 79 20 62 65 | 69 6e 67 20 76 61 6c 69 |ently be|ing vali|
|00001540| 64 61 74 65 64 20 2a 2f | 00 23 49 44 5f 56 41 4c |dated */|.#ID_VAL|
|00001550| 49 44 41 54 45 44 3d 38 | 32 3b 2f 2a 20 44 69 73 |IDATED=8|2;/* Dis|
|00001560| 6b 20 69 73 20 63 6f 6e | 73 69 73 74 65 6e 74 20 |k is con|sistent |
|00001570| 61 6e 64 20 77 72 69 74 | 65 61 62 6c 65 20 2a 2f |and writ|eable */|
|00001580| 00 00 3b 2f 2a 20 44 69 | 73 6b 20 74 79 70 65 73 |..;/* Di|sk types|
|00001590| 20 2a 2f 00 3b 2f 2a 20 | 49 44 5f 49 4e 54 45 52 | */.;/* |ID_INTER|
|000015a0| 5f 2a 20 75 73 65 20 69 | 6e 74 65 72 6e 61 74 69 |_* use i|nternati|
|000015b0| 6f 6e 61 6c 20 63 61 73 | 65 20 63 6f 6d 70 61 72 |onal cas|e compar|
|000015c0| 69 73 6f 6e 20 72 6f 75 | 74 69 6e 65 73 20 66 6f |ison rou|tines fo|
|000015d0| 72 20 68 61 73 68 69 6e | 67 20 2a 2f 00 3b 2f 2a |r hashin|g */.;/*|
|000015e0| 20 41 6e 79 20 6f 74 68 | 65 72 20 6e 65 77 20 66 | Any oth|er new f|
|000015f0| 69 6c 65 73 79 73 74 65 | 6d 73 20 73 68 6f 75 6c |ilesyste|ms shoul|
|00001600| 64 20 61 6c 73 6f 2c 20 | 69 66 20 70 6f 73 73 69 |d also, |if possi|
|00001610| 62 6c 65 2e 20 2a 2f 00 | 23 49 44 5f 4e 4f 5f 44 |ble. */.|#ID_NO_D|
|00001620| 49 53 4b 5f 50 52 45 53 | 45 4e 54 3d 28 2d 31 29 |ISK_PRES|ENT=(-1)|
|00001630| 00 23 49 44 5f 55 4e 52 | 45 41 44 41 42 4c 45 5f |.#ID_UNR|EADABLE_|
|00001640| 44 49 53 4b 3d 28 24 34 | 32 34 31 34 34 30 30 29 |DISK=($4|2414400)|
|00001650| 3b 2f 2a 20 27 42 41 44 | 5c 30 27 20 2a 2f 00 23 |;/* 'BAD|\0' */.#|
|00001660| 49 44 5f 44 4f 53 5f 44 | 49 53 4b 3d 28 24 34 34 |ID_DOS_D|ISK=($44|
|00001670| 34 46 35 33 30 30 29 3b | 2f 2a 20 27 44 4f 53 5c |4F5300);|/* 'DOS\|
|00001680| 30 27 20 2a 2f 00 23 49 | 44 5f 46 46 53 5f 44 49 |0' */.#I|D_FFS_DI|
|00001690| 53 4b 3d 28 24 34 34 34 | 46 35 33 30 31 29 3b 2f |SK=($444|F5301);/|
|000016a0| 2a 20 27 44 4f 53 5c 31 | 27 20 2a 2f 00 23 49 44 |* 'DOS\1|' */.#ID|
|000016b0| 5f 49 4e 54 45 52 5f 44 | 4f 53 5f 44 49 53 4b 3d |_INTER_D|OS_DISK=|
|000016c0| 28 24 34 34 34 46 35 33 | 30 32 29 3b 2f 2a 20 27 |($444F53|02);/* '|
|000016d0| 44 4f 53 5c 32 27 20 2a | 2f 00 23 49 44 5f 49 4e |DOS\2' *|/.#ID_IN|
|000016e0| 54 45 52 5f 46 46 53 5f | 44 49 53 4b 3d 28 24 34 |TER_FFS_|DISK=($4|
|000016f0| 34 34 46 35 33 30 33 29 | 3b 2f 2a 20 27 44 4f 53 |44F5303)|;/* 'DOS|
|00001700| 5c 33 27 20 2a 2f 00 23 | 49 44 5f 46 41 53 54 44 |\3' */.#|ID_FASTD|
|00001710| 49 52 5f 44 4f 53 5f 44 | 49 53 4b 3d 28 24 34 34 |IR_DOS_D|ISK=($44|
|00001720| 34 46 35 33 30 34 29 3b | 2f 2a 20 27 44 4f 53 5c |4F5304);|/* 'DOS\|
|00001730| 34 27 20 2a 2f 00 23 49 | 44 5f 46 41 53 54 44 49 |4' */.#I|D_FASTDI|
|00001740| 52 5f 46 46 53 5f 44 49 | 53 4b 3d 28 24 34 34 34 |R_FFS_DI|SK=($444|
|00001750| 46 35 33 30 35 29 3b 2f | 2a 20 27 44 4f 53 5c 35 |F5305);/|* 'DOS\5|
|00001760| 27 20 2a 2f 00 23 49 44 | 5f 4e 4f 54 5f 52 45 41 |' */.#ID|_NOT_REA|
|00001770| 4c 4c 59 5f 44 4f 53 3d | 28 24 34 45 34 34 34 46 |LLY_DOS=|($4E444F|
|00001780| 35 33 29 3b 2f 2a 20 27 | 4e 44 4f 53 27 20 20 2a |53);/* '|NDOS' *|
|00001790| 2f 00 23 49 44 5f 4b 49 | 43 4b 53 54 41 52 54 5f |/.#ID_KI|CKSTART_|
|000017a0| 44 49 53 4b 3d 28 24 34 | 42 34 39 34 33 34 42 29 |DISK=($4|B49434B)|
|000017b0| 3b 2f 2a 20 27 4b 49 43 | 4b 27 20 20 2a 2f 00 23 |;/* 'KIC|K' */.#|
|000017c0| 49 44 5f 4d 53 44 4f 53 | 5f 44 49 53 4b 3d 28 24 |ID_MSDOS|_DISK=($|
|000017d0| 34 64 35 33 34 34 30 30 | 29 3b 2f 2a 20 27 4d 53 |4d534400|);/* 'MS|
|000017e0| 44 5c 30 27 20 2a 2f 00 | 00 3b 2f 2a 20 45 72 72 |D\0' */.|.;/* Err|
|000017f0| 6f 72 73 20 66 72 6f 6d | 20 49 6f 45 72 72 28 29 |ors from| IoErr()|
|00001800| 2c 20 65 74 63 2e 20 2a | 2f 00 23 45 52 52 4f 52 |, etc. *|/.#ERROR|
|00001810| 5f 4e 4f 5f 46 52 45 45 | 5f 53 54 4f 52 45 3d 31 |_NO_FREE|_STORE=1|
|00001820| 30 33 00 23 45 52 52 4f | 52 5f 54 41 53 4b 5f 54 |03.#ERRO|R_TASK_T|
|00001830| 41 42 4c 45 5f 46 55 4c | 4c 3d 31 30 35 00 23 45 |ABLE_FUL|L=105.#E|
|00001840| 52 52 4f 52 5f 42 41 44 | 5f 54 45 4d 50 4c 41 54 |RROR_BAD|_TEMPLAT|
|00001850| 45 3d 31 31 34 00 23 45 | 52 52 4f 52 5f 42 41 44 |E=114.#E|RROR_BAD|
|00001860| 5f 4e 55 4d 42 45 52 3d | 31 31 35 00 23 45 52 52 |_NUMBER=|115.#ERR|
|00001870| 4f 52 5f 52 45 51 55 49 | 52 45 44 5f 41 52 47 5f |OR_REQUI|RED_ARG_|
|00001880| 4d 49 53 53 49 4e 47 3d | 31 31 36 00 23 45 52 52 |MISSING=|116.#ERR|
|00001890| 4f 52 5f 4b 45 59 5f 4e | 45 45 44 53 5f 41 52 47 |OR_KEY_N|EEDS_ARG|
|000018a0| 3d 31 31 37 00 23 45 52 | 52 4f 52 5f 54 4f 4f 5f |=117.#ER|ROR_TOO_|
|000018b0| 4d 41 4e 59 5f 41 52 47 | 53 3d 31 31 38 00 23 45 |MANY_ARG|S=118.#E|
|000018c0| 52 52 4f 52 5f 55 4e 4d | 41 54 43 48 45 44 5f 51 |RROR_UNM|ATCHED_Q|
|000018d0| 55 4f 54 45 53 3d 31 31 | 39 00 23 45 52 52 4f 52 |UOTES=11|9.#ERROR|
|000018e0| 5f 4c 49 4e 45 5f 54 4f | 4f 5f 4c 4f 4e 47 3d 31 |_LINE_TO|O_LONG=1|
|000018f0| 32 30 00 23 45 52 52 4f | 52 5f 46 49 4c 45 5f 4e |20.#ERRO|R_FILE_N|
|00001900| 4f 54 5f 4f 42 4a 45 43 | 54 3d 31 32 31 00 23 45 |OT_OBJEC|T=121.#E|
|00001910| 52 52 4f 52 5f 49 4e 56 | 41 4c 49 44 5f 52 45 53 |RROR_INV|ALID_RES|
|00001920| 49 44 45 4e 54 5f 4c 49 | 42 52 41 52 59 3d 31 32 |IDENT_LI|BRARY=12|
|00001930| 32 00 23 45 52 52 4f 52 | 5f 4e 4f 5f 44 45 46 41 |2.#ERROR|_NO_DEFA|
|00001940| 55 4c 54 5f 44 49 52 3d | 32 30 31 00 23 45 52 52 |ULT_DIR=|201.#ERR|
|00001950| 4f 52 5f 4f 42 4a 45 43 | 54 5f 49 4e 5f 55 53 45 |OR_OBJEC|T_IN_USE|
|00001960| 3d 32 30 32 00 23 45 52 | 52 4f 52 5f 4f 42 4a 45 |=202.#ER|ROR_OBJE|
|00001970| 43 54 5f 45 58 49 53 54 | 53 3d 32 30 33 00 23 45 |CT_EXIST|S=203.#E|
|00001980| 52 52 4f 52 5f 44 49 52 | 5f 4e 4f 54 5f 46 4f 55 |RROR_DIR|_NOT_FOU|
|00001990| 4e 44 3d 32 30 34 00 23 | 45 52 52 4f 52 5f 4f 42 |ND=204.#|ERROR_OB|
|000019a0| 4a 45 43 54 5f 4e 4f 54 | 5f 46 4f 55 4e 44 3d 32 |JECT_NOT|_FOUND=2|
|000019b0| 30 35 00 23 45 52 52 4f | 52 5f 42 41 44 5f 53 54 |05.#ERRO|R_BAD_ST|
|000019c0| 52 45 41 4d 5f 4e 41 4d | 45 3d 32 30 36 00 23 45 |REAM_NAM|E=206.#E|
|000019d0| 52 52 4f 52 5f 4f 42 4a | 45 43 54 5f 54 4f 4f 5f |RROR_OBJ|ECT_TOO_|
|000019e0| 4c 41 52 47 45 3d 32 30 | 37 00 23 45 52 52 4f 52 |LARGE=20|7.#ERROR|
|000019f0| 5f 41 43 54 49 4f 4e 5f | 4e 4f 54 5f 4b 4e 4f 57 |_ACTION_|NOT_KNOW|
|00001a00| 4e 3d 32 30 39 00 23 45 | 52 52 4f 52 5f 49 4e 56 |N=209.#E|RROR_INV|
|00001a10| 41 4c 49 44 5f 43 4f 4d | 50 4f 4e 45 4e 54 5f 4e |ALID_COM|PONENT_N|
|00001a20| 41 4d 45 3d 32 31 30 00 | 23 45 52 52 4f 52 5f 49 |AME=210.|#ERROR_I|
|00001a30| 4e 56 41 4c 49 44 5f 4c | 4f 43 4b 3d 32 31 31 00 |NVALID_L|OCK=211.|
|00001a40| 23 45 52 52 4f 52 5f 4f | 42 4a 45 43 54 5f 57 52 |#ERROR_O|BJECT_WR|
|00001a50| 4f 4e 47 5f 54 59 50 45 | 3d 32 31 32 00 23 45 52 |ONG_TYPE|=212.#ER|
|00001a60| 52 4f 52 5f 44 49 53 4b | 5f 4e 4f 54 5f 56 41 4c |ROR_DISK|_NOT_VAL|
|00001a70| 49 44 41 54 45 44 3d 32 | 31 33 00 23 45 52 52 4f |IDATED=2|13.#ERRO|
|00001a80| 52 5f 44 49 53 4b 5f 57 | 52 49 54 45 5f 50 52 4f |R_DISK_W|RITE_PRO|
|00001a90| 54 45 43 54 45 44 3d 32 | 31 34 00 23 45 52 52 4f |TECTED=2|14.#ERRO|
|00001aa0| 52 5f 52 45 4e 41 4d 45 | 5f 41 43 52 4f 53 53 5f |R_RENAME|_ACROSS_|
|00001ab0| 44 45 56 49 43 45 53 3d | 32 31 35 00 23 45 52 52 |DEVICES=|215.#ERR|
|00001ac0| 4f 52 5f 44 49 52 45 43 | 54 4f 52 59 5f 4e 4f 54 |OR_DIREC|TORY_NOT|
|00001ad0| 5f 45 4d 50 54 59 3d 32 | 31 36 00 23 45 52 52 4f |_EMPTY=2|16.#ERRO|
|00001ae0| 52 5f 54 4f 4f 5f 4d 41 | 4e 59 5f 4c 45 56 45 4c |R_TOO_MA|NY_LEVEL|
|00001af0| 53 3d 32 31 37 00 23 45 | 52 52 4f 52 5f 44 45 56 |S=217.#E|RROR_DEV|
|00001b00| 49 43 45 5f 4e 4f 54 5f | 4d 4f 55 4e 54 45 44 3d |ICE_NOT_|MOUNTED=|
|00001b10| 32 31 38 00 23 45 52 52 | 4f 52 5f 53 45 45 4b 5f |218.#ERR|OR_SEEK_|
|00001b20| 45 52 52 4f 52 3d 32 31 | 39 00 23 45 52 52 4f 52 |ERROR=21|9.#ERROR|
|00001b30| 5f 43 4f 4d 4d 45 4e 54 | 5f 54 4f 4f 5f 42 49 47 |_COMMENT|_TOO_BIG|
|00001b40| 3d 32 32 30 00 23 45 52 | 52 4f 52 5f 44 49 53 4b |=220.#ER|ROR_DISK|
|00001b50| 5f 46 55 4c 4c 3d 32 32 | 31 00 23 45 52 52 4f 52 |_FULL=22|1.#ERROR|
|00001b60| 5f 44 45 4c 45 54 45 5f | 50 52 4f 54 45 43 54 45 |_DELETE_|PROTECTE|
|00001b70| 44 3d 32 32 32 00 23 45 | 52 52 4f 52 5f 57 52 49 |D=222.#E|RROR_WRI|
|00001b80| 54 45 5f 50 52 4f 54 45 | 43 54 45 44 3d 32 32 33 |TE_PROTE|CTED=223|
|00001b90| 00 23 45 52 52 4f 52 5f | 52 45 41 44 5f 50 52 4f |.#ERROR_|READ_PRO|
|00001ba0| 54 45 43 54 45 44 3d 32 | 32 34 00 23 45 52 52 4f |TECTED=2|24.#ERRO|
|00001bb0| 52 5f 4e 4f 54 5f 41 5f | 44 4f 53 5f 44 49 53 4b |R_NOT_A_|DOS_DISK|
|00001bc0| 3d 32 32 35 00 23 45 52 | 52 4f 52 5f 4e 4f 5f 44 |=225.#ER|ROR_NO_D|
|00001bd0| 49 53 4b 3d 32 32 36 00 | 23 45 52 52 4f 52 5f 4e |ISK=226.|#ERROR_N|
|00001be0| 4f 5f 4d 4f 52 45 5f 45 | 4e 54 52 49 45 53 3d 32 |O_MORE_E|NTRIES=2|
|00001bf0| 33 32 00 3b 2f 2a 20 61 | 64 64 65 64 20 66 6f 72 |32.;/* a|dded for|
|00001c00| 20 31 2e 34 20 2a 2f 00 | 23 45 52 52 4f 52 5f 49 | 1.4 */.|#ERROR_I|
|00001c10| 53 5f 53 4f 46 54 5f 4c | 49 4e 4b 3d 32 33 33 00 |S_SOFT_L|INK=233.|
|00001c20| 23 45 52 52 4f 52 5f 4f | 42 4a 45 43 54 5f 4c 49 |#ERROR_O|BJECT_LI|
|00001c30| 4e 4b 45 44 3d 32 33 34 | 00 23 45 52 52 4f 52 5f |NKED=234|.#ERROR_|
|00001c40| 42 41 44 5f 48 55 4e 4b | 3d 32 33 35 00 23 45 52 |BAD_HUNK|=235.#ER|
|00001c50| 52 4f 52 5f 4e 4f 54 5f | 49 4d 50 4c 45 4d 45 4e |ROR_NOT_|IMPLEMEN|
|00001c60| 54 45 44 3d 32 33 36 00 | 23 45 52 52 4f 52 5f 52 |TED=236.|#ERROR_R|
|00001c70| 45 43 4f 52 44 5f 4e 4f | 54 5f 4c 4f 43 4b 45 44 |ECORD_NO|T_LOCKED|
|00001c80| 3d 32 34 30 00 23 45 52 | 52 4f 52 5f 4c 4f 43 4b |=240.#ER|ROR_LOCK|
|00001c90| 5f 43 4f 4c 4c 49 53 49 | 4f 4e 3d 32 34 31 00 23 |_COLLISI|ON=241.#|
|00001ca0| 45 52 52 4f 52 5f 4c 4f | 43 4b 5f 54 49 4d 45 4f |ERROR_LO|CK_TIMEO|
|00001cb0| 55 54 3d 32 34 32 00 23 | 45 52 52 4f 52 5f 55 4e |UT=242.#|ERROR_UN|
|00001cc0| 4c 4f 43 4b 5f 45 52 52 | 4f 52 3d 32 34 33 00 00 |LOCK_ERR|OR=243..|
|00001cd0| 3b 2f 2a 20 65 72 72 6f | 72 20 63 6f 64 65 73 20 |;/* erro|r codes |
|00001ce0| 33 30 33 2d 33 30 35 20 | 61 72 65 20 64 65 66 69 |303-305 |are defi|
|00001cf0| 6e 65 64 20 69 6e 20 64 | 6f 73 61 73 6c 2e 68 20 |ned in d|osasl.h |
|00001d00| 2a 2f 00 00 3b 2f 2a 20 | 54 68 65 73 65 20 61 72 |*/..;/* |These ar|
|00001d10| 65 20 74 68 65 20 72 65 | 74 75 72 6e 20 63 6f 64 |e the re|turn cod|
|00001d20| 65 73 20 75 73 65 64 20 | 62 79 20 63 6f 6e 76 65 |es used |by conve|
|00001d30| 6e 74 69 6f 6e 20 62 79 | 20 41 6d 69 67 61 44 4f |ntion by| AmigaDO|
|00001d40| 53 20 63 6f 6d 6d 61 6e | 64 73 20 2a 2f 00 3b 2f |S comman|ds */.;/|
|00001d50| 2a 20 53 65 65 20 46 41 | 49 4c 41 54 20 61 6e 64 |* See FA|ILAT and|
|00001d60| 20 49 46 20 66 6f 72 20 | 72 65 6c 76 61 6e 63 65 | IF for |relvance|
|00001d70| 20 74 6f 20 45 58 45 43 | 55 54 45 20 66 69 6c 65 | to EXEC|UTE file|
|00001d80| 73 20 20 20 20 20 20 20 | 20 2a 2f 00 23 52 45 54 |s | */.#RET|
|00001d90| 55 52 4e 5f 4f 4b 3d 30 | 3b 2f 2a 20 4e 6f 20 70 |URN_OK=0|;/* No p|
|00001da0| 72 6f 62 6c 65 6d 73 2c | 20 73 75 63 63 65 73 73 |roblems,| success|
|00001db0| 20 2a 2f 00 23 52 45 54 | 55 52 4e 5f 57 41 52 4e | */.#RET|URN_WARN|
|00001dc0| 3d 35 3b 2f 2a 20 41 20 | 77 61 72 6e 69 6e 67 20 |=5;/* A |warning |
|00001dd0| 6f 6e 6c 79 20 2a 2f 00 | 23 52 45 54 55 52 4e 5f |only */.|#RETURN_|
|00001de0| 45 52 52 4f 52 3d 31 30 | 3b 2f 2a 20 53 6f 6d 65 |ERROR=10|;/* Some|
|00001df0| 74 68 69 6e 67 20 77 72 | 6f 6e 67 20 2a 2f 00 23 |thing wr|ong */.#|
|00001e00| 52 45 54 55 52 4e 5f 46 | 41 49 4c 3d 32 30 3b 2f |RETURN_F|AIL=20;/|
|00001e10| 2a 20 43 6f 6d 70 6c 65 | 74 65 20 6f 72 20 73 65 |* Comple|te or se|
|00001e20| 76 65 72 65 20 66 61 69 | 6c 75 72 65 2a 2f 00 00 |vere fai|lure*/..|
|00001e30| 3b 2f 2a 20 42 69 74 20 | 6e 75 6d 62 65 72 73 20 |;/* Bit |numbers |
|00001e40| 74 68 61 74 20 73 69 67 | 6e 61 6c 20 79 6f 75 20 |that sig|nal you |
|00001e50| 74 68 61 74 20 61 20 75 | 73 65 72 20 68 61 73 20 |that a u|ser has |
|00001e60| 69 73 73 75 65 64 20 61 | 20 62 72 65 61 6b 20 2a |issued a| break *|
|00001e70| 2f 00 23 53 49 47 42 52 | 45 41 4b 42 5f 43 54 52 |/.#SIGBR|EAKB_CTR|
|00001e80| 4c 5f 43 3d 31 32 00 23 | 53 49 47 42 52 45 41 4b |L_C=12.#|SIGBREAK|
|00001e90| 42 5f 43 54 52 4c 5f 44 | 3d 31 33 00 23 53 49 47 |B_CTRL_D|=13.#SIG|
|00001ea0| 42 52 45 41 4b 42 5f 43 | 54 52 4c 5f 45 3d 31 34 |BREAKB_C|TRL_E=14|
|00001eb0| 00 23 53 49 47 42 52 45 | 41 4b 42 5f 43 54 52 4c |.#SIGBRE|AKB_CTRL|
|00001ec0| 5f 46 3d 31 35 00 00 3b | 2f 2a 20 42 69 74 20 66 |_F=15..;|/* Bit f|
|00001ed0| 69 65 6c 64 73 20 74 68 | 61 74 20 73 69 67 6e 61 |ields th|at signa|
|00001ee0| 6c 20 79 6f 75 20 74 68 | 61 74 20 61 20 75 73 65 |l you th|at a use|
|00001ef0| 72 20 68 61 73 20 69 73 | 73 75 65 64 20 61 20 62 |r has is|sued a b|
|00001f00| 72 65 61 6b 20 2a 2f 00 | 3b 2f 2a 20 66 6f 72 20 |reak */.|;/* for |
|00001f10| 65 78 61 6d 70 6c 65 3a | 20 20 69 66 20 28 53 65 |example:| if (Se|
|00001f20| 74 53 69 67 6e 61 6c 28 | 30 2c 30 29 20 26 20 53 |tSignal(|0,0) & S|
|00001f30| 49 47 42 52 45 41 4b 46 | 5f 43 54 52 4c 5f 43 29 |IGBREAKF|_CTRL_C)|
|00001f40| 20 63 6c 65 61 6e 75 70 | 5f 61 6e 64 5f 65 78 69 | cleanup|_and_exi|
|00001f50| 74 28 29 3b 20 2a 2f 00 | 23 53 49 47 42 52 45 41 |t(); */.|#SIGBREA|
|00001f60| 4b 46 5f 43 54 52 4c 5f | 43 3d 28 31 80 7c 20 23 |KF_CTRL_|C=(1.| #|
|00001f70| 53 49 47 42 52 45 41 4b | 42 5f 43 54 52 4c 5f 43 |SIGBREAK|B_CTRL_C|
|00001f80| 29 00 23 53 49 47 42 52 | 45 41 4b 46 5f 43 54 52 |).#SIGBR|EAKF_CTR|
|00001f90| 4c 5f 44 3d 28 31 80 7c | 20 23 53 49 47 42 52 45 |L_D=(1.|| #SIGBRE|
|00001fa0| 41 4b 42 5f 43 54 52 4c | 5f 44 29 00 23 53 49 47 |AKB_CTRL|_D).#SIG|
|00001fb0| 42 52 45 41 4b 46 5f 43 | 54 52 4c 5f 45 3d 28 31 |BREAKF_C|TRL_E=(1|
|00001fc0| 80 7c 20 23 53 49 47 42 | 52 45 41 4b 42 5f 43 54 |.| #SIGB|REAKB_CT|
|00001fd0| 52 4c 5f 45 29 00 23 53 | 49 47 42 52 45 41 4b 46 |RL_E).#S|IGBREAKF|
|00001fe0| 5f 43 54 52 4c 5f 46 3d | 28 31 80 7c 20 23 53 49 |_CTRL_F=|(1.| #SI|
|00001ff0| 47 42 52 45 41 4b 42 5f | 43 54 52 4c 5f 46 29 00 |GBREAKB_|CTRL_F).|
|00002000| 00 3b 2f 2a 20 56 61 6c | 75 65 73 20 72 65 74 75 |.;/* Val|ues retu|
|00002010| 72 6e 65 64 20 62 79 20 | 53 61 6d 65 4c 6f 63 6b |rned by |SameLock|
|00002020| 28 29 20 2a 2f 00 23 4c | 4f 43 4b 5f 44 49 46 46 |() */.#L|OCK_DIFF|
|00002030| 45 52 45 4e 54 3d 2d 31 | 00 23 4c 4f 43 4b 5f 53 |ERENT=-1|.#LOCK_S|
|00002040| 41 4d 45 3d 30 00 23 4c | 4f 43 4b 5f 53 41 4d 45 |AME=0.#L|OCK_SAME|
|00002050| 5f 56 4f 4c 55 4d 45 3d | 31 3b 2f 2a 20 6c 6f 63 |_VOLUME=|1;/* loc|
|00002060| 6b 73 20 61 72 65 20 6f | 6e 20 73 61 6d 65 20 76 |ks are o|n same v|
|00002070| 6f 6c 75 6d 65 20 2a 2f | 00 23 4c 4f 43 4b 5f 53 |olume */|.#LOCK_S|
|00002080| 41 4d 45 5f 48 41 4e 44 | 4c 45 52 3d 23 4c 4f 43 |AME_HAND|LER=#LOC|
|00002090| 4b 5f 53 41 4d 45 5f 56 | 4f 4c 55 4d 45 00 3b 2f |K_SAME_V|OLUME.;/|
|000020a0| 2a 20 4c 4f 43 4b 5f 53 | 41 4d 45 5f 48 41 4e 44 |* LOCK_S|AME_HAND|
|000020b0| 4c 45 52 20 77 61 73 20 | 61 20 6d 69 73 6c 65 61 |LER was |a mislea|
|000020c0| 64 69 6e 67 20 6e 61 6d | 65 2c 20 64 65 66 20 6b |ding nam|e, def k|
|000020d0| 65 70 74 20 66 6f 72 20 | 73 72 63 20 63 6f 6d 70 |ept for |src comp|
|000020e0| 61 74 69 62 69 6c 69 74 | 79 20 2a 2f 00 00 3b 2f |atibilit|y */..;/|
|000020f0| 2a 20 74 79 70 65 73 20 | 66 6f 72 20 43 68 61 6e |* types |for Chan|
|00002100| 67 65 4d 6f 64 65 28 29 | 20 2a 2f 00 23 43 48 41 |geMode()| */.#CHA|
|00002110| 4e 47 45 5f 4c 4f 43 4b | 3d 30 00 23 43 48 41 4e |NGE_LOCK|=0.#CHAN|
|00002120| 47 45 5f 46 48 3d 31 00 | 00 3b 2f 2a 20 56 61 6c |GE_FH=1.|.;/* Val|
|00002130| 75 65 73 20 66 6f 72 20 | 4d 61 6b 65 4c 69 6e 6b |ues for |MakeLink|
|00002140| 28 29 20 2a 2f 00 23 4c | 49 4e 4b 5f 48 41 52 44 |() */.#L|INK_HARD|
|00002150| 3d 30 00 23 4c 49 4e 4b | 5f 53 4f 46 54 3d 31 3b |=0.#LINK|_SOFT=1;|
|00002160| 2f 2a 20 73 6f 66 74 6c | 69 6e 6b 73 20 61 72 65 |/* softl|inks are|
|00002170| 20 6e 6f 74 20 66 75 6c | 6c 79 20 73 75 70 70 6f | not ful|ly suppo|
|00002180| 72 74 65 64 20 79 65 74 | 20 2a 2f 00 00 3b 2f 2a |rted yet| */..;/*|
|00002190| 20 76 61 6c 75 65 73 20 | 72 65 74 75 72 6e 65 64 | values |returned|
|000021a0| 20 62 79 20 52 65 61 64 | 49 74 65 6d 20 2a 2f 00 | by Read|Item */.|
|000021b0| 23 49 54 45 4d 5f 45 51 | 55 41 4c 3d 2d 32 3b 2f |#ITEM_EQ|UAL=-2;/|
|000021c0| 2a 20 22 3d 22 20 53 79 | 6d 62 6f 6c 20 2a 2f 00 |* "=" Sy|mbol */.|
|000021d0| 23 49 54 45 4d 5f 45 52 | 52 4f 52 3d 2d 31 3b 2f |#ITEM_ER|ROR=-1;/|
|000021e0| 2a 20 65 72 72 6f 72 20 | 2a 2f 00 23 49 54 45 4d |* error |*/.#ITEM|
|000021f0| 5f 4e 4f 54 48 49 4e 47 | 3d 30 3b 2f 2a 20 2a 4e |_NOTHING|=0;/* *N|
|00002200| 2c 20 3b 2c 20 65 6e 64 | 73 74 72 65 61 6d 63 68 |, ;, end|streamch|
|00002210| 20 2a 2f 00 23 49 54 45 | 4d 5f 55 4e 51 55 4f 54 | */.#ITE|M_UNQUOT|
|00002220| 45 44 3d 31 3b 2f 2a 20 | 75 6e 71 75 6f 74 65 64 |ED=1;/* |unquoted|
|00002230| 20 69 74 65 6d 20 2a 2f | 00 23 49 54 45 4d 5f 51 | item */|.#ITEM_Q|
|00002240| 55 4f 54 45 44 3d 32 3b | 2f 2a 20 71 75 6f 74 65 |UOTED=2;|/* quote|
|00002250| 64 20 69 74 65 6d 20 2a | 2f 00 00 3b 2f 2a 20 74 |d item *|/..;/* t|
|00002260| 79 70 65 73 20 66 6f 72 | 20 41 6c 6c 6f 63 44 6f |ypes for| AllocDo|
|00002270| 73 4f 62 6a 65 63 74 2f | 46 72 65 65 44 6f 73 4f |sObject/|FreeDosO|
|00002280| 62 6a 65 63 74 20 2a 2f | 00 23 44 4f 53 5f 46 49 |bject */|.#DOS_FI|
|00002290| 4c 45 48 41 4e 44 4c 45 | 3d 30 3b 2f 2a 20 66 65 |LEHANDLE|=0;/* fe|
|000022a0| 77 20 70 65 6f 70 6c 65 | 20 73 68 6f 75 6c 64 20 |w people| should |
|000022b0| 75 73 65 20 74 68 69 73 | 20 2a 2f 00 23 44 4f 53 |use this| */.#DOS|
|000022c0| 5f 45 58 41 4c 4c 43 4f | 4e 54 52 4f 4c 3d 31 3b |_EXALLCO|NTROL=1;|
|000022d0| 2f 2a 20 4d 75 73 74 20 | 62 65 20 75 73 65 64 20 |/* Must |be used |
|000022e0| 74 6f 20 61 6c 6c 6f 63 | 61 74 65 20 74 68 69 73 |to alloc|ate this|
|000022f0| 21 20 2a 2f 00 23 44 4f | 53 5f 46 49 42 3d 32 3b |! */.#DO|S_FIB=2;|
|00002300| 2f 2a 20 75 73 65 66 75 | 6c 20 2a 2f 00 23 44 4f |/* usefu|l */.#DO|
|00002310| 53 5f 53 54 44 50 4b 54 | 3d 33 3b 2f 2a 20 66 6f |S_STDPKT|=3;/* fo|
|00002320| 72 20 64 6f 69 6e 67 20 | 70 61 63 6b 65 74 2d 6c |r doing |packet-l|
|00002330| 65 76 65 6c 20 49 2f 4f | 20 2a 2f 00 23 44 4f 53 |evel I/O| */.#DOS|
|00002340| 5f 43 4c 49 3d 34 3b 2f | 2a 20 66 6f 72 20 73 68 |_CLI=4;/|* for sh|
|00002350| 65 6c 6c 2d 77 72 69 74 | 65 72 73 2c 20 65 74 63 |ell-writ|ers, etc|
|00002360| 20 2a 2f 00 23 44 4f 53 | 5f 52 44 41 52 47 53 3d | */.#DOS|_RDARGS=|
|00002370| 35 3b 2f 2a 20 66 6f 72 | 20 52 65 61 64 41 72 67 |5;/* for| ReadArg|
|00002380| 73 20 69 66 20 79 6f 75 | 20 70 61 73 73 20 69 74 |s if you| pass it|
|00002390| 20 69 6e 20 2a 2f 00 | | in */. | |
+--------+-------------------------+-------------------------+--------+--------+