home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1989-09-14 | 7.3 KB | [TEXT/KAHL] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
66%
| dexvert
| AMOS Picture Packer (image/amosPicturePacker)
| ext
| Supported |
1%
| dexvert
| Debian floppy split (archive/debianFloppySplit)
| ext
| Unsupported |
1%
| dexvert
| Sound Images sound sample (audio/soundImagesSoundSample)
| ext
| Unsupported |
1%
| dexvert
| DESI-III drawing (image/desiIIIDrawing)
| ext
| Unsupported |
1%
| dexvert
| MS-DOS PMODE extender executable (executable/msdosPMODEExtenderExecutable)
| ext
| Unsupported |
1%
| dexvert
| Alien Trilogytextures (other/alienTrilogyTextures)
| ext
| Unsupported |
1%
| dexvert
| APT cache data (other/aptCacheData)
| ext
| Unsupported |
1%
| dexvert
| CorelTRACE configuration (other/corelTRACEConfiguration)
| ext
| Unsupported |
1%
| dexvert
| Dreamcast Disc (other/dreamcastDisc)
| ext
| Unsupported |
1%
| dexvert
| EST flat binary (other/estFlatBinary)
| ext
| Unsupported |
1%
| dexvert
| Finale Enigma Binary Format (other/finaleEnigmaBinaryFormat)
| ext
| Unsupported |
1%
| dexvert
| Sega Genesis/Megadrive/32x ROM (other/genesisROM)
| ext
| Unsupported |
1%
| dexvert
| Myth: The Fallen Lords game archive (other/mythTheFallenLordsGameArchive)
| ext
| Unsupported |
1%
| dexvert
| Sound Images Sound Driver (other/soundImagesSoundDriver)
| ext
| Unsupported |
1%
| dexvert
| Symantec/Norton Config (other/symantecNortonConfig)
| ext
| Unsupported |
1%
| dexvert
| Vectrex ROM (other/vectrexROM)
| ext
| Unsupported |
1%
| dexvert
| BIS raP encoded format (other/bisraPEncoded)
| ext
| Unsupported |
1%
| dexvert
| Pascal Script binary (other/pascalScriptBinary)
| ext
| Unsupported |
1%
| dexvert
| 7th Level game data archive (other/seventhLevelGameDataArchive)
| ext
| Unsupported |
1%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Binary Text (image/binaryText)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary, Sun Sep 28 20:25:19 1986, modified Mon Jan 16 09:06:08 1989, creator Think C, type ASCII, 7223 bytes "proto.h"
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 1
| default (weak)
| |
100%
| lsar
| MacBinary
| default
| |
100%
| gt2
| MAC Bilddatei
| default (weak)
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [KAHL] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 07 70 72 6f 74 6f 2e | 68 00 00 00 00 00 00 00 |..proto.|h.......|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4b 41 48 | 4c 00 00 00 00 00 00 00 |.TEXTKAH|L.......|
|00000050| 00 00 00 00 00 1c 37 00 | 00 00 00 9b a3 7a ef 9f |......7.|.....z..|
|00000060| f7 a7 50 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..P.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000080| 2f 2a 20 4c 69 67 68 74 | 73 70 65 65 64 43 20 66 |/* Light|speedC f|
|00000090| 75 6e 63 74 69 6f 6e 20 | 70 72 6f 74 6f 74 79 70 |unction |prototyp|
|000000a0| 65 20 68 65 61 64 65 72 | 20 66 69 6c 65 2e 0d 0d |e header| file...|
|000000b0| 43 6f 70 79 72 69 67 68 | 74 20 28 63 29 31 39 38 |Copyrigh|t (c)198|
|000000c0| 36 2e 20 54 48 49 4e 4b | 20 54 65 63 68 6e 6f 6c |6. THINK| Technol|
|000000d0| 6f 67 69 65 73 2c 20 49 | 6e 63 2e 20 41 6c 6c 20 |ogies, I|nc. All |
|000000e0| 72 69 67 68 74 73 20 72 | 65 73 65 72 76 65 64 2e |rights r|eserved.|
|000000f0| 0d 0d 0d 54 68 69 73 20 | 66 69 6c 65 20 63 6f 6e |...This |file con|
|00000100| 74 61 69 6e 73 20 74 68 | 65 20 66 75 6e 63 74 69 |tains th|e functi|
|00000110| 6f 6e 20 70 72 6f 74 6f | 74 79 70 65 73 20 66 6f |on proto|types fo|
|00000120| 72 20 61 6c 6c 20 28 68 | 6f 70 65 66 75 6c 6c 79 |r all (h|opefully|
|00000130| 29 20 6f 66 20 74 68 65 | 0d 70 75 62 6c 69 73 68 |) of the|.publish|
|00000140| 65 64 20 4c 69 67 68 74 | 73 70 65 65 64 43 20 6c |ed Light|speedC l|
|00000150| 69 62 72 61 72 79 20 66 | 75 6e 63 74 69 6f 6e 73 |ibrary f|unctions|
|00000160| 2e 20 20 49 74 20 63 61 | 6e 20 62 65 20 64 69 73 |. It ca|n be dis|
|00000170| 73 65 63 74 65 64 20 69 | 6e 74 6f 0d 77 68 61 74 |sected i|nto.what|
|00000180| 65 76 65 72 20 70 69 65 | 63 65 73 20 61 72 65 20 |ever pie|ces are |
|00000190| 64 65 73 69 72 65 64 20 | 6f 72 20 69 74 20 63 61 |desired |or it ca|
|000001a0| 6e 20 73 69 6d 70 6c 79 | 20 62 65 20 69 6e 63 6c |n simply| be incl|
|000001b0| 75 64 65 64 20 28 61 74 | 20 73 6f 6d 65 20 65 78 |uded (at| some ex|
|000001c0| 74 72 61 0d 63 6f 73 74 | 20 69 6e 20 74 69 6d 65 |tra.cost| in time|
|000001d0| 20 74 6f 20 63 6f 6d 70 | 69 6c 65 20 61 6e 64 20 | to comp|ile and |
|000001e0| 73 79 6d 62 6f 6c 20 74 | 61 62 6c 65 20 6f 76 65 |symbol t|able ove|
|000001f0| 72 68 65 61 64 29 2e 0d | 0d 53 69 6e 63 65 20 74 |rhead)..|.Since t|
|00000200| 68 65 20 6f 72 69 67 69 | 6e 61 6c 20 68 65 61 64 |he origi|nal head|
|00000210| 65 72 20 66 69 6c 65 73 | 20 68 61 76 65 20 6e 6f |er files| have no|
|00000220| 74 20 62 65 65 6e 20 6d | 6f 64 69 66 69 65 64 2c |t been m|odified,|
|00000230| 20 74 68 65 79 20 63 61 | 6e 20 73 74 69 6c 6c 20 | they ca|n still |
|00000240| 62 65 0d 69 6e 63 6c 75 | 64 65 64 20 69 6e 20 63 |be.inclu|ded in c|
|00000250| 6f 6e 6a 75 6e 63 74 69 | 6f 6e 20 77 69 74 68 20 |onjuncti|on with |
|00000260| 74 68 69 73 20 70 72 6f | 74 6f 74 79 70 65 20 68 |this pro|totype h|
|00000270| 65 61 64 65 72 2c 20 69 | 66 20 64 65 73 69 72 65 |eader, i|f desire|
|00000280| 64 2e 20 20 54 68 61 74 | 0d 6d 65 61 6e 73 20 74 |d. That|.means t|
|00000290| 68 61 74 20 79 6f 75 20 | 63 6f 75 6c 64 20 73 74 |hat you |could st|
|000002a0| 69 6c 6c 20 69 6e 63 6c | 75 64 65 20 22 6d 61 74 |ill incl|ude "mat|
|000002b0| 68 2e 68 22 20 66 6f 72 | 20 69 74 73 20 64 65 66 |h.h" for| its def|
|000002c0| 69 6e 69 74 69 6f 6e 20 | 6f 66 20 50 49 20 61 6e |inition |of PI an|
|000002d0| 64 0d 73 75 63 68 20 61 | 6e 64 20 66 6f 6c 6c 6f |d.such a|nd follo|
|000002e0| 77 20 74 68 61 74 20 77 | 69 74 68 20 61 6e 20 69 |w that w|ith an i|
|000002f0| 6e 63 6c 75 64 65 20 6f | 66 20 74 68 69 73 20 66 |nclude o|f this f|
|00000300| 69 6c 65 2e 0d 0d 54 68 | 65 20 70 72 6f 74 6f 74 |ile...Th|e protot|
|00000310| 79 70 65 73 20 61 72 65 | 20 70 72 65 73 65 6e 74 |ypes are| present|
|00000320| 65 64 20 68 65 72 65 20 | 69 6e 20 6e 6f 20 70 61 |ed here |in no pa|
|00000330| 72 74 69 63 75 6c 61 72 | 20 6f 72 64 65 72 2c 20 |rticular| order, |
|00000340| 68 6f 77 65 76 65 72 2c | 20 74 68 65 79 20 61 72 |however,| they ar|
|00000350| 65 0d 67 72 6f 75 70 65 | 64 20 62 79 20 6f 72 69 |e.groupe|d by ori|
|00000360| 67 69 6e 61 74 69 6e 67 | 20 6c 69 62 72 61 72 79 |ginating| library|
|00000370| 2e 0d 0d 2a 2f 0d 0d 23 | 69 66 6e 64 65 66 20 5f |...*/..#|ifndef _|
|00000380| 66 6f 70 65 6e 77 68 5f | 0d 23 69 6e 63 6c 75 64 |fopenwh_|.#includ|
|00000390| 65 20 22 66 6f 70 65 6e | 77 2e 68 22 0d 23 65 6e |e "fopen|w.h".#en|
|000003a0| 64 69 66 0d 0d 23 69 66 | 6e 64 65 66 09 5f 45 76 |dif..#if|ndef._Ev|
|000003b0| 65 6e 74 4d 67 72 5f 0d | 23 69 6e 63 6c 75 64 65 |entMgr_.|#include|
|000003c0| 20 22 45 76 65 6e 74 4d | 67 72 2e 68 22 0d 23 65 | "EventM|gr.h".#e|
|000003d0| 6e 64 69 66 0d 0d 0d 2f | 2a 20 6d 61 74 68 2e 68 |ndif.../|* math.h|
|000003e0| 20 2a 2f 0d 0d 69 6e 74 | 20 61 62 73 28 69 6e 74 | */..int| abs(int|
|000003f0| 20 78 29 3b 0d 64 6f 75 | 62 6c 65 20 61 63 6f 73 | x);.dou|ble acos|
|00000400| 28 64 6f 75 62 6c 65 20 | 78 29 3b 0d 64 6f 75 62 |(double |x);.doub|
|00000410| 6c 65 20 61 73 69 6e 28 | 64 6f 75 62 6c 65 20 78 |le asin(|double x|
|00000420| 29 3b 0d 64 6f 75 62 6c | 65 20 61 74 61 6e 28 64 |);.doubl|e atan(d|
|00000430| 6f 75 62 6c 65 20 78 29 | 3b 0d 64 6f 75 62 6c 65 |ouble x)|;.double|
|00000440| 20 61 74 61 6e 32 28 64 | 6f 75 62 6c 65 20 79 2c | atan2(d|ouble y,|
|00000450| 20 64 6f 75 62 6c 65 20 | 78 29 3b 0d 64 6f 75 62 | double |x);.doub|
|00000460| 6c 65 20 63 65 69 6c 28 | 64 6f 75 62 6c 65 20 78 |le ceil(|double x|
|00000470| 29 3b 0d 64 6f 75 62 6c | 65 20 63 6f 73 28 64 6f |);.doubl|e cos(do|
|00000480| 75 62 6c 65 20 78 29 3b | 0d 64 6f 75 62 6c 65 20 |uble x);|.double |
|00000490| 63 6f 73 68 28 64 6f 75 | 62 6c 65 20 78 29 3b 0d |cosh(dou|ble x);.|
|000004a0| 64 6f 75 62 6c 65 20 65 | 78 70 28 64 6f 75 62 6c |double e|xp(doubl|
|000004b0| 65 20 78 29 3b 0d 64 6f | 75 62 6c 65 20 66 61 62 |e x);.do|uble fab|
|000004c0| 73 28 64 6f 75 62 6c 65 | 20 78 29 3b 0d 64 6f 75 |s(double| x);.dou|
|000004d0| 62 6c 65 20 66 6c 6f 6f | 72 28 64 6f 75 62 6c 65 |ble floo|r(double|
|000004e0| 20 78 29 3b 0d 64 6f 75 | 62 6c 65 20 66 6d 6f 64 | x);.dou|ble fmod|
|000004f0| 28 64 6f 75 62 6c 65 20 | 78 2c 20 64 6f 75 62 6c |(double |x, doubl|
|00000500| 65 20 79 29 3b 0d 64 6f | 75 62 6c 65 20 66 72 65 |e y);.do|uble fre|
|00000510| 78 70 28 64 6f 75 62 6c | 65 20 78 2c 20 69 6e 74 |xp(doubl|e x, int|
|00000520| 20 2a 6e 70 74 72 29 3b | 0d 6c 6f 6e 67 20 69 6e | *nptr);|.long in|
|00000530| 74 20 6c 61 62 73 28 6c | 6f 6e 67 20 69 6e 74 20 |t labs(l|ong int |
|00000540| 78 29 3b 0d 64 6f 75 62 | 6c 65 20 6c 64 65 78 70 |x);.doub|le ldexp|
|00000550| 28 64 6f 75 62 6c 65 20 | 78 2c 20 69 6e 74 20 6e |(double |x, int n|
|00000560| 29 3b 0d 64 6f 75 62 6c | 65 20 6c 6f 67 28 64 6f |);.doubl|e log(do|
|00000570| 75 62 6c 65 20 78 29 3b | 0d 64 6f 75 62 6c 65 20 |uble x);|.double |
|00000580| 6c 6f 67 31 30 28 64 6f | 75 62 6c 65 20 78 29 3b |log10(do|uble x);|
|00000590| 0d 64 6f 75 62 6c 65 20 | 6d 6f 64 66 28 64 6f 75 |.double |modf(dou|
|000005a0| 62 6c 65 20 78 2c 20 64 | 6f 75 62 6c 65 20 2a 6e |ble x, d|ouble *n|
|000005b0| 70 74 72 29 3b 0d 64 6f | 75 62 6c 65 20 70 6f 77 |ptr);.do|uble pow|
|000005c0| 28 64 6f 75 62 6c 65 20 | 78 2c 20 64 6f 75 62 6c |(double |x, doubl|
|000005d0| 65 20 79 29 3b 0d 69 6e | 74 20 72 61 6e 64 28 76 |e y);.in|t rand(v|
|000005e0| 6f 69 64 29 3b 0d 64 6f | 75 62 6c 65 20 73 69 6e |oid);.do|uble sin|
|000005f0| 28 64 6f 75 62 6c 65 20 | 78 29 3b 0d 64 6f 75 62 |(double |x);.doub|
|00000600| 6c 65 20 73 69 6e 68 28 | 64 6f 75 62 6c 65 20 78 |le sinh(|double x|
|00000610| 29 3b 0d 64 6f 75 62 6c | 65 20 73 71 72 74 28 64 |);.doubl|e sqrt(d|
|00000620| 6f 75 62 6c 65 20 78 29 | 3b 0d 76 6f 69 64 20 73 |ouble x)|;.void s|
|00000630| 72 61 6e 64 28 75 6e 73 | 69 67 6e 65 64 20 69 6e |rand(uns|igned in|
|00000640| 74 20 73 65 65 64 29 3b | 0d 64 6f 75 62 6c 65 20 |t seed);|.double |
|00000650| 74 61 6e 28 64 6f 75 62 | 6c 65 20 78 29 3b 0d 64 |tan(doub|le x);.d|
|00000660| 6f 75 62 6c 65 20 74 61 | 6e 68 28 64 6f 75 62 6c |ouble ta|nh(doubl|
|00000670| 65 20 78 29 3b 0d 0d 2f | 2a 20 73 74 72 69 6e 67 |e x);../|* string|
|00000680| 73 2e 68 20 2a 2f 0d 0d | 69 6e 74 20 73 74 63 63 |s.h */..|int stcc|
|00000690| 70 79 28 63 68 61 72 20 | 2a 73 31 2c 20 63 68 61 |py(char |*s1, cha|
|000006a0| 72 20 2a 73 32 2c 20 69 | 6e 74 20 6e 29 3b 0d 69 |r *s2, i|nt n);.i|
|000006b0| 6e 74 20 73 74 63 69 73 | 28 63 68 61 72 20 2a 73 |nt stcis|(char *s|
|000006c0| 2c 20 63 68 61 72 20 2a | 73 65 74 29 3b 0d 69 6e |, char *|set);.in|
|000006d0| 74 20 73 74 63 69 73 6e | 28 63 68 61 72 20 2a 73 |t stcisn|(char *s|
|000006e0| 31 2c 20 63 68 61 72 20 | 2a 73 65 74 29 3b 0d 69 |1, char |*set);.i|
|000006f0| 6e 74 20 73 74 63 6c 65 | 6e 28 63 68 61 72 20 2a |nt stcle|n(char *|
|00000700| 73 29 3b 0d 63 68 61 72 | 20 2a 73 74 70 62 6c 6b |s);.char| *stpblk|
|00000710| 28 63 68 61 72 20 2a 70 | 29 3b 0d 63 68 61 72 20 |(char *p|);.char |
|00000720| 2a 73 74 70 62 72 6b 28 | 63 68 61 72 20 2a 73 2c |*stpbrk(|char *s,|
|00000730| 20 63 68 61 72 20 2a 73 | 65 74 29 3b 0d 63 68 61 | char *s|et);.cha|
|00000740| 72 20 2a 73 74 70 63 68 | 72 28 63 68 61 72 20 2a |r *stpch|r(char *|
|00000750| 73 2c 20 63 68 61 72 20 | 63 29 3b 0d 63 68 61 72 |s, char |c);.char|
|00000760| 20 2a 73 74 70 63 70 79 | 28 63 68 61 72 20 2a 73 | *stpcpy|(char *s|
|00000770| 31 2c 20 63 68 61 72 20 | 2a 73 32 29 3b 0d 63 68 |1, char |*s2);.ch|
|00000780| 61 72 20 2a 73 74 72 63 | 61 74 28 63 68 61 72 20 |ar *strc|at(char |
|00000790| 2a 73 31 2c 20 63 68 61 | 72 20 2a 73 32 29 3b 0d |*s1, cha|r *s2);.|
|000007a0| 63 68 61 72 20 2a 73 74 | 72 63 68 72 28 63 68 61 |char *st|rchr(cha|
|000007b0| 72 20 2a 73 2c 20 63 68 | 61 72 20 63 29 3b 0d 69 |r *s, ch|ar c);.i|
|000007c0| 6e 74 20 73 74 72 63 6d | 70 28 63 68 61 72 20 2a |nt strcm|p(char *|
|000007d0| 73 31 2c 20 63 68 61 72 | 20 2a 73 32 29 3b 0d 63 |s1, char| *s2);.c|
|000007e0| 68 61 72 20 2a 73 74 72 | 63 70 79 28 63 68 61 72 |har *str|cpy(char|
|000007f0| 20 2a 73 31 2c 20 63 68 | 61 72 20 2a 73 32 29 3b | *s1, ch|ar *s2);|
|00000800| 0d 69 6e 74 20 73 74 72 | 63 73 70 6e 28 63 68 61 |.int str|cspn(cha|
|00000810| 72 20 2a 73 2c 20 63 68 | 61 72 20 2a 73 65 74 29 |r *s, ch|ar *set)|
|00000820| 3b 0d 69 6e 74 20 73 74 | 72 6c 65 6e 28 63 68 61 |;.int st|rlen(cha|
|00000830| 72 20 2a 73 29 3b 0d 63 | 68 61 72 20 2a 73 74 72 |r *s);.c|har *str|
|00000840| 6e 63 61 74 28 63 68 61 | 72 20 2a 73 31 2c 20 63 |ncat(cha|r *s1, c|
|00000850| 68 61 72 20 2a 73 32 2c | 20 69 6e 74 20 6e 29 3b |har *s2,| int n);|
|00000860| 0d 69 6e 74 20 73 74 72 | 6e 63 6d 70 28 63 68 61 |.int str|ncmp(cha|
|00000870| 72 20 2a 73 31 2c 20 63 | 68 61 72 20 2a 73 32 2c |r *s1, c|har *s2,|
|00000880| 20 69 6e 74 20 6e 29 3b | 0d 63 68 61 72 20 2a 73 | int n);|.char *s|
|00000890| 74 72 6e 63 70 79 28 63 | 68 61 72 20 2a 73 31 2c |trncpy(c|har *s1,|
|000008a0| 20 63 68 61 72 20 2a 73 | 32 2c 20 69 6e 74 20 6e | char *s|2, int n|
|000008b0| 29 3b 0d 63 68 61 72 20 | 2a 73 74 72 70 62 72 6b |);.char |*strpbrk|
|000008c0| 28 63 68 61 72 20 2a 73 | 2c 20 63 68 61 72 20 2a |(char *s|, char *|
|000008d0| 73 65 74 29 3b 0d 69 6e | 74 20 73 74 72 70 6f 73 |set);.in|t strpos|
|000008e0| 28 63 68 61 72 20 2a 73 | 2c 20 63 68 61 72 20 63 |(char *s|, char c|
|000008f0| 29 3b 0d 63 68 61 72 20 | 2a 73 74 72 72 63 68 72 |);.char |*strrchr|
|00000900| 28 63 68 61 72 20 2a 73 | 2c 20 63 68 61 72 20 63 |(char *s|, char c|
|00000910| 29 3b 0d 63 68 61 72 20 | 2a 73 74 72 72 70 62 72 |);.char |*strrpbr|
|00000920| 6b 28 63 68 61 72 20 2a | 73 2c 20 63 68 61 72 20 |k(char *|s, char |
|00000930| 2a 73 65 74 29 3b 0d 69 | 6e 74 20 73 74 72 72 70 |*set);.i|nt strrp|
|00000940| 6f 73 28 63 68 61 72 20 | 2a 73 2c 20 63 68 61 72 |os(char |*s, char|
|00000950| 20 63 29 3b 0d 69 6e 74 | 20 73 74 72 73 70 6e 28 | c);.int| strspn(|
|00000960| 63 68 61 72 20 2a 73 2c | 20 63 68 61 72 20 2a 73 |char *s,| char *s|
|00000970| 65 74 29 3b 0d 69 6e 74 | 20 73 74 73 63 6d 70 28 |et);.int| stscmp(|
|00000980| 63 68 61 72 20 2a 73 31 | 2c 20 63 68 61 72 20 2a |char *s1|, char *|
|00000990| 73 32 29 3b 0d 0d 2f 2a | 20 75 6e 69 78 5f 73 74 |s2);../*| unix_st|
|000009a0| 72 69 6e 67 73 2e 68 20 | 2a 2f 0d 0d 69 6e 74 20 |rings.h |*/..int |
|000009b0| 73 74 63 61 72 67 28 63 | 68 61 72 20 2a 73 2c 20 |stcarg(c|har *s, |
|000009c0| 63 68 61 72 20 2a 62 29 | 3b 0d 69 6e 74 20 73 74 |char *b)|;.int st|
|000009d0| 63 70 6d 28 63 68 61 72 | 20 2a 73 2c 20 63 68 61 |cpm(char| *s, cha|
|000009e0| 72 20 2a 70 2c 20 63 68 | 61 72 20 2a 2a 71 29 3b |r *p, ch|ar **q);|
|000009f0| 0d 69 6e 74 20 73 74 63 | 70 6d 61 28 63 68 61 72 |.int stc|pma(char|
|00000a00| 20 2a 73 74 72 69 6e 67 | 2c 20 63 68 61 72 20 2a | *string|, char *|
|00000a10| 70 61 74 74 65 72 6e 29 | 3b 0d 63 68 61 72 20 2a |pattern)|;.char *|
|00000a20| 73 74 70 73 79 6d 28 63 | 68 61 72 20 2a 73 2c 20 |stpsym(c|har *s, |
|00000a30| 63 68 61 72 20 2a 73 79 | 6d 2c 20 69 6e 74 20 73 |char *sy|m, int s|
|00000a40| 79 6d 6c 65 6e 29 3b 0d | 63 68 61 72 20 2a 73 74 |ymlen);.|char *st|
|00000a50| 70 74 6f 6b 28 63 68 61 | 72 20 2a 73 2c 20 63 68 |ptok(cha|r *s, ch|
|00000a60| 61 72 20 2a 74 6f 6b 2c | 20 69 6e 74 20 74 6f 6b |ar *tok,| int tok|
|00000a70| 6c 65 6e 2c 20 63 68 61 | 72 20 2a 62 72 6b 29 3b |len, cha|r *brk);|
|00000a80| 0d 0d 2f 2a 20 73 74 6f | 72 61 67 65 2e 68 20 2a |../* sto|rage.h *|
|00000a90| 2f 0d 0d 76 6f 69 64 20 | 2a 63 6c 61 6c 6c 6f 63 |/..void |*clalloc|
|00000aa0| 28 75 6e 73 69 67 6e 65 | 64 20 6c 6f 6e 67 20 63 |(unsigne|d long c|
|00000ab0| 6f 75 6e 74 2c 75 6e 73 | 69 67 6e 65 64 20 6c 6f |ount,uns|igned lo|
|00000ac0| 6e 67 20 73 69 7a 65 29 | 3b 0d 76 6f 69 64 20 2a |ng size)|;.void *|
|00000ad0| 63 61 6c 6c 6f 63 28 75 | 6e 73 69 67 6e 65 64 20 |calloc(u|nsigned |
|00000ae0| 69 6e 74 20 63 6f 75 6e | 74 2c 20 75 6e 73 69 67 |int coun|t, unsig|
|00000af0| 6e 65 64 20 69 6e 74 20 | 73 69 7a 65 29 3b 0d 69 |ned int |size);.i|
|00000b00| 6e 74 20 66 72 65 65 28 | 76 6f 69 64 20 2a 70 74 |nt free(|void *pt|
|00000b10| 72 29 3b 0d 69 6e 74 20 | 63 66 72 65 65 28 76 6f |r);.int |cfree(vo|
|00000b20| 69 64 20 2a 70 74 72 29 | 3b 0d 76 6f 69 64 20 2a |id *ptr)|;.void *|
|00000b30| 6d 6c 61 6c 6c 6f 63 28 | 75 6e 73 69 67 6e 65 64 |mlalloc(|unsigned|
|00000b40| 20 6c 6f 6e 67 20 73 69 | 7a 65 29 3b 0d 76 6f 69 | long si|ze);.voi|
|00000b50| 64 20 2a 6d 61 6c 6c 6f | 63 28 75 6e 73 69 67 6e |d *mallo|c(unsign|
|00000b60| 65 64 20 69 6e 74 20 73 | 69 7a 65 29 3b 0d 76 6f |ed int s|ize);.vo|
|00000b70| 69 64 20 2a 72 65 6c 61 | 6c 6c 6f 63 28 76 6f 69 |id *rela|lloc(voi|
|00000b80| 64 20 2a 70 74 72 2c 75 | 6e 73 69 67 6e 65 64 20 |d *ptr,u|nsigned |
|00000b90| 6c 6f 6e 67 20 6e 65 77 | 73 69 7a 65 29 3b 0d 76 |long new|size);.v|
|00000ba0| 6f 69 64 20 2a 72 65 61 | 6c 6c 6f 63 28 76 6f 69 |oid *rea|lloc(voi|
|00000bb0| 64 20 2a 70 74 72 2c 75 | 6e 73 69 67 6e 65 64 20 |d *ptr,u|nsigned |
|00000bc0| 6e 65 77 73 69 7a 65 29 | 3b 0d 0d 2f 2a 20 73 74 |newsize)|;../* st|
|00000bd0| 6f 72 61 67 65 75 2e 68 | 20 2a 2f 0d 0d 69 6e 74 |orageu.h| */..int|
|00000be0| 09 61 6c 6c 6d 65 6d 28 | 76 6f 69 64 29 3b 0d 69 |.allmem(|void);.i|
|00000bf0| 6e 74 20 62 6c 64 6d 65 | 6d 28 69 6e 74 20 6e 29 |nt bldme|m(int n)|
|00000c00| 3b 0d 63 68 61 72 20 2a | 67 65 74 6d 65 6d 28 75 |;.char *|getmem(u|
|00000c10| 6e 73 69 67 6e 65 64 20 | 69 6e 74 20 6e 62 79 74 |nsigned |int nbyt|
|00000c20| 65 73 29 3b 0d 63 68 61 | 72 20 2a 67 65 74 6d 6c |es);.cha|r *getml|
|00000c30| 28 75 6e 73 69 67 6e 65 | 64 20 6c 6f 6e 67 20 6c |(unsigne|d long l|
|00000c40| 6e 62 79 74 65 73 29 3b | 0d 63 68 61 72 20 2a 6c |nbytes);|.char *l|
|00000c50| 73 62 72 6b 28 75 6e 73 | 69 67 6e 65 64 20 6c 6f |sbrk(uns|igned lo|
|00000c60| 6e 67 20 6c 6e 62 79 74 | 65 73 29 3b 0d 69 6e 74 |ng lnbyt|es);.int|
|00000c70| 09 72 6c 73 6d 65 6d 28 | 63 68 61 72 20 2a 63 70 |.rlsmem(|char *cp|
|00000c80| 2c 20 75 6e 73 69 67 6e | 65 64 20 69 6e 74 20 6e |, unsign|ed int n|
|00000c90| 62 79 74 65 73 29 3b 0d | 69 6e 74 09 72 6c 73 6d |bytes);.|int.rlsm|
|00000ca0| 6c 28 63 68 61 72 20 2a | 63 70 2c 75 6e 73 69 67 |l(char *|cp,unsig|
|00000cb0| 6e 65 64 20 6c 6f 6e 67 | 20 6c 6e 62 79 74 65 73 |ned long| lnbytes|
|00000cc0| 29 3b 0d 76 6f 69 64 20 | 72 73 74 6d 65 6d 28 76 |);.void |rstmem(v|
|00000cd0| 6f 69 64 29 3b 0d 76 6f | 69 64 20 72 62 72 6b 28 |oid);.vo|id rbrk(|
|00000ce0| 76 6f 69 64 29 3b 0d 63 | 68 61 72 20 2a 73 62 72 |void);.c|har *sbr|
|00000cf0| 6b 28 75 6e 73 69 67 6e | 65 64 20 69 6e 74 20 6e |k(unsign|ed int n|
|00000d00| 62 79 74 65 73 29 3b 0d | 6c 6f 6e 67 20 73 69 7a |bytes);.|long siz|
|00000d10| 6d 65 6d 28 76 6f 69 64 | 29 3b 0d 0d 2f 2a 20 75 |mem(void|);../* u|
|00000d20| 6e 69 78 2e 68 20 2a 2f | 0d 0d 23 69 66 6e 64 65 |nix.h */|..#ifnde|
|00000d30| 66 20 5f 73 74 64 69 6f | 68 5f 0d 23 69 6e 63 6c |f _stdio|h_.#incl|
|00000d40| 75 64 65 20 22 73 74 64 | 69 6f 2e 68 22 0d 23 65 |ude "std|io.h".#e|
|00000d50| 6e 64 69 66 20 5f 73 74 | 64 69 6f 68 5f 0d 0d 63 |ndif _st|dioh_..c|
|00000d60| 68 61 72 20 2a 6c 6f 63 | 76 28 69 6e 74 20 68 69 |har *loc|v(int hi|
|00000d70| 2c 69 6e 74 20 6c 6f 29 | 3b 0d 69 6e 74 20 67 65 |,int lo)|;.int ge|
|00000d80| 74 77 28 46 49 4c 45 20 | 2a 77 68 6f 29 3b 0d 69 |tw(FILE |*who);.i|
|00000d90| 6e 74 20 70 75 74 77 28 | 69 6e 74 20 77 6f 72 64 |nt putw(|int word|
|00000da0| 2c 20 46 49 4c 45 20 2a | 77 68 6f 29 3b 0d 76 6f |, FILE *|who);.vo|
|00000db0| 69 64 20 70 65 72 72 6f | 72 28 63 68 61 72 20 2a |id perro|r(char *|
|00000dc0| 73 29 3b 0d 0d 76 6f 69 | 64 20 73 6c 65 65 70 28 |s);..voi|d sleep(|
|00000dd0| 69 6e 74 20 73 65 63 73 | 29 3b 0d 69 6e 74 20 74 |int secs|);.int t|
|00000de0| 74 79 6e 28 46 49 4c 45 | 20 2a 77 68 6f 29 3b 0d |tyn(FILE| *who);.|
|00000df0| 69 6e 74 20 73 74 73 70 | 66 70 28 63 68 61 72 20 |int stsp|fp(char |
|00000e00| 2a 70 2c 69 6e 74 20 2a | 6e 29 3b 0d 0d 64 6f 75 |*p,int *|n);..dou|
|00000e10| 62 6c 65 20 61 74 6f 66 | 28 63 68 61 72 20 2a 73 |ble atof|(char *s|
|00000e20| 29 3b 0d 69 6e 74 20 61 | 74 6f 69 28 63 68 61 72 |);.int a|toi(char|
|00000e30| 20 2a 73 29 3b 0d 6c 6f | 6e 67 20 61 74 6f 6c 28 | *s);.lo|ng atol(|
|00000e40| 63 68 61 72 20 2a 73 29 | 3b 0d 0d 69 6e 74 20 65 |char *s)|;..int e|
|00000e50| 78 65 63 6c 28 63 68 61 | 72 20 2a 70 61 74 68 2c |xecl(cha|r *path,|
|00000e60| 20 2e 2e 2e 29 3b 0d 69 | 6e 74 20 65 78 65 63 76 | ...);.i|nt execv|
|00000e70| 28 63 68 61 72 20 2a 70 | 61 74 68 2c 20 63 68 61 |(char *p|ath, cha|
|00000e80| 72 20 2a 61 72 67 76 5b | 5d 29 3b 0d 69 6e 74 20 |r *argv[|]);.int |
|00000e90| 65 78 65 63 6c 65 28 63 | 68 61 72 20 2a 70 61 74 |execle(c|har *pat|
|00000ea0| 68 2c 20 2e 2e 2e 29 3b | 0d 69 6e 74 20 65 78 65 |h, ...);|.int exe|
|00000eb0| 63 76 65 28 63 68 61 72 | 20 2a 70 61 74 68 2c 20 |cve(char| *path, |
|00000ec0| 63 68 61 72 20 2a 61 72 | 67 76 5b 5d 2c 20 63 68 |char *ar|gv[], ch|
|00000ed0| 61 72 20 2a 65 6e 76 70 | 5b 5d 29 3b 0d 0d 76 6f |ar *envp|[]);..vo|
|00000ee0| 69 64 20 65 78 69 74 28 | 2e 2e 2e 29 3b 0d 76 6f |id exit(|...);.vo|
|00000ef0| 69 64 20 5f 65 78 69 74 | 28 2e 2e 2e 29 3b 0d 76 |id _exit|(...);.v|
|00000f00| 6f 69 64 20 61 62 6f 72 | 74 28 2e 2e 2e 29 3b 0d |oid abor|t(...);.|
|00000f10| 0d 0d 69 6e 74 09 66 69 | 6c 65 6e 6f 28 46 49 4c |..int.fi|leno(FIL|
|00000f20| 45 20 2a 77 68 6f 29 3b | 0d 69 6e 74 20 6f 70 65 |E *who);|.int ope|
|00000f30| 6e 28 63 68 61 72 20 2a | 66 69 6c 65 6e 61 6d 65 |n(char *|filename|
|00000f40| 2c 20 69 6e 74 20 6d 6f | 64 65 29 3b 0d 69 6e 74 |, int mo|de);.int|
|00000f50| 20 63 6c 6f 73 65 28 69 | 6e 74 20 66 69 6c 64 65 | close(i|nt filde|
|00000f60| 73 29 3b 0d 69 6e 74 20 | 72 65 61 64 28 69 6e 74 |s);.int |read(int|
|00000f70| 20 66 69 6c 64 65 73 2c | 20 63 68 61 72 20 2a 62 | fildes,| char *b|
|00000f80| 75 66 66 65 72 2c 20 75 | 6e 73 69 67 6e 65 64 20 |uffer, u|nsigned |
|00000f90| 6e 62 79 74 65 73 29 3b | 0d 69 6e 74 20 77 72 69 |nbytes);|.int wri|
|00000fa0| 74 65 28 69 6e 74 20 66 | 69 6c 64 65 73 2c 20 63 |te(int f|ildes, c|
|00000fb0| 68 61 72 20 2a 62 75 66 | 66 65 72 2c 20 75 6e 73 |har *buf|fer, uns|
|00000fc0| 69 67 6e 65 64 20 6e 62 | 79 74 65 73 29 3b 0d 6c |igned nb|ytes);.l|
|00000fd0| 6f 6e 67 20 6c 73 65 65 | 6b 28 69 6e 74 20 66 69 |ong lsee|k(int fi|
|00000fe0| 6c 64 65 73 2c 20 6c 6f | 6e 67 20 69 6e 74 20 6f |ldes, lo|ng int o|
|00000ff0| 66 66 73 65 74 2c 20 75 | 6e 73 69 67 6e 65 64 20 |ffset, u|nsigned |
|00001000| 69 6e 74 20 6f 66 66 73 | 65 74 6d 6f 64 65 29 3b |int offs|etmode);|
|00001010| 0d 6c 6f 6e 67 20 74 65 | 6c 6c 28 69 6e 74 20 66 |.long te|ll(int f|
|00001020| 69 6c 64 65 73 29 3b 0d | 69 6e 74 09 72 65 6e 61 |ildes);.|int.rena|
|00001030| 6d 65 28 63 68 61 72 20 | 2a 6f 6c 64 2c 20 63 68 |me(char |*old, ch|
|00001040| 61 72 20 2a 6e 65 77 29 | 3b 0d 69 6e 74 09 72 65 |ar *new)|;.int.re|
|00001050| 6d 6f 76 65 28 63 68 61 | 72 20 2a 6e 61 6d 65 29 |move(cha|r *name)|
|00001060| 3b 0d 69 6e 74 09 75 6e | 6c 69 6e 6b 28 63 68 61 |;.int.un|link(cha|
|00001070| 72 20 2a 6e 61 6d 65 29 | 3b 0d 69 6e 74 20 63 72 |r *name)|;.int cr|
|00001080| 65 61 74 28 63 68 61 72 | 20 2a 66 69 6c 65 6e 61 |eat(char| *filena|
|00001090| 6d 65 2c 20 69 6e 74 20 | 6d 6f 64 65 29 3b 0d 0d |me, int |mode);..|
|000010a0| 69 6e 74 20 67 65 74 75 | 69 64 28 76 6f 69 64 29 |int getu|id(void)|
|000010b0| 3b 0d 69 6e 74 20 73 65 | 74 75 69 64 28 69 6e 74 |;.int se|tuid(int|
|000010c0| 20 75 69 64 29 3b 0d 69 | 6e 74 20 67 65 74 70 69 | uid);.i|nt getpi|
|000010d0| 64 28 76 6f 69 64 29 3b | 0d 69 6e 74 20 73 65 74 |d(void);|.int set|
|000010e0| 70 69 64 28 69 6e 74 20 | 70 69 64 29 3b 0d 63 68 |pid(int |pid);.ch|
|000010f0| 61 72 20 2a 63 67 65 74 | 70 69 64 28 63 68 61 72 |ar *cget|pid(char|
|00001100| 20 2a 73 70 74 72 29 3b | 0d 0d 76 6f 69 64 20 73 | *sptr);|..void s|
|00001110| 65 74 6d 65 6d 28 63 68 | 61 72 20 2a 70 2c 75 6e |etmem(ch|ar *p,un|
|00001120| 73 69 67 6e 65 64 20 6e | 2c 63 68 61 72 20 63 29 |signed n|,char c)|
|00001130| 3b 0d 76 6f 69 64 20 72 | 65 70 6d 65 6d 28 63 68 |;.void r|epmem(ch|
|00001140| 61 72 20 2a 73 2c 20 63 | 68 61 72 20 2a 76 2c 20 |ar *s, c|har *v, |
|00001150| 69 6e 74 20 6c 76 2c 20 | 69 6e 74 20 6e 76 29 3b |int lv, |int nv);|
|00001160| 0d 76 6f 69 64 20 6d 6f | 76 6d 65 6d 28 63 68 61 |.void mo|vmem(cha|
|00001170| 72 20 2a 73 2c 20 63 68 | 61 72 20 2a 64 2c 20 75 |r *s, ch|ar *d, u|
|00001180| 6e 73 69 67 6e 65 64 20 | 6e 29 3b 0d 0d 76 6f 69 |nsigned |n);..voi|
|00001190| 64 20 65 72 61 73 65 70 | 6c 6f 74 28 76 6f 69 64 |d erasep|lot(void|
|000011a0| 29 3b 0d 76 6f 69 64 20 | 6c 69 6e 65 28 69 6e 74 |);.void |line(int|
|000011b0| 20 78 31 2c 20 69 6e 74 | 20 79 31 2c 20 69 6e 74 | x1, int| y1, int|
|000011c0| 20 78 32 2c 20 69 6e 74 | 20 79 32 29 3b 0d 76 6f | x2, int| y2);.vo|
|000011d0| 69 64 20 6d 6f 76 65 28 | 69 6e 74 20 78 2c 20 69 |id move(|int x, i|
|000011e0| 6e 74 20 79 29 3b 0d 76 | 6f 69 64 20 63 69 72 63 |nt y);.v|oid circ|
|000011f0| 6c 65 28 69 6e 74 20 78 | 2c 20 69 6e 74 20 79 2c |le(int x|, int y,|
|00001200| 20 69 6e 74 20 72 29 3b | 0d 76 6f 69 64 20 63 6f | int r);|.void co|
|00001210| 6e 74 28 69 6e 74 20 78 | 2c 20 69 6e 74 20 79 29 |nt(int x|, int y)|
|00001220| 3b 0d 76 6f 69 64 20 70 | 6f 69 6e 74 28 69 6e 74 |;.void p|oint(int|
|00001230| 20 78 2c 20 69 6e 74 20 | 79 29 3b 0d 76 6f 69 64 | x, int |y);.void|
|00001240| 20 6c 61 62 65 6c 28 63 | 68 61 72 20 2a 73 29 3b | label(c|har *s);|
|00001250| 0d 0d 69 6e 74 20 73 65 | 74 62 75 66 28 46 49 4c |..int se|tbuf(FIL|
|00001260| 45 20 2a 66 70 2c 20 63 | 68 61 72 20 2a 62 75 66 |E *fp, c|har *buf|
|00001270| 29 3b 0d 69 6e 74 20 73 | 65 74 6e 62 75 66 28 46 |);.int s|etnbuf(F|
|00001280| 49 4c 45 20 2a 66 70 29 | 3b 0d 0d 69 6e 74 20 28 |ILE *fp)|;..int (|
|00001290| 2a 73 69 67 6e 61 6c 28 | 69 6e 74 20 73 69 67 2c |*signal(|int sig,|
|000012a0| 20 69 6e 74 20 28 2a 66 | 75 6e 63 29 28 29 29 29 | int (*f|unc)()))|
|000012b0| 28 29 3b 0d 69 6e 74 20 | 6b 69 6c 6c 28 69 6e 74 |();.int |kill(int|
|000012c0| 20 70 69 64 2c 20 69 6e | 74 20 73 69 67 29 3b 0d | pid, in|t sig);.|
|000012d0| 0d 69 6e 74 20 73 74 63 | 69 5f 64 28 63 68 61 72 |.int stc|i_d(char|
|000012e0| 20 2a 6f 75 74 2c 20 69 | 6e 74 20 69 6e 2c 20 69 | *out, i|nt in, i|
|000012f0| 6e 74 20 6f 75 74 6c 65 | 6e 29 3b 0d 69 6e 74 20 |nt outle|n);.int |
|00001300| 73 74 63 75 5f 64 28 63 | 68 61 72 20 2a 6f 75 74 |stcu_d(c|har *out|
|00001310| 2c 20 75 6e 73 69 67 6e | 65 64 20 69 6e 74 20 69 |, unsign|ed int i|
|00001320| 6e 2c 20 69 6e 74 20 6f | 75 74 6c 65 6e 29 3b 0d |n, int o|utlen);.|
|00001330| 0d 69 6e 74 20 73 74 63 | 64 5f 69 28 63 68 61 72 |.int stc|d_i(char|
|00001340| 20 2a 73 2c 69 6e 74 20 | 2a 72 29 3b 0d 69 6e 74 | *s,int |*r);.int|
|00001350| 20 73 74 63 68 5f 69 28 | 63 68 61 72 20 2a 73 2c | stch_i(|char *s,|
|00001360| 69 6e 74 20 2a 72 29 3b | 0d 0d 75 6e 73 69 67 6e |int *r);|..unsign|
|00001370| 65 64 20 6c 6f 6e 67 20 | 74 69 6d 65 28 75 6e 73 |ed long |time(uns|
|00001380| 69 67 6e 65 64 20 6c 6f | 6e 67 20 2a 63 6c 6f 63 |igned lo|ng *cloc|
|00001390| 6b 29 3b 0d 63 68 61 72 | 20 2a 63 74 69 6d 65 28 |k);.char| *ctime(|
|000013a0| 75 6e 73 69 67 6e 65 64 | 20 6c 6f 6e 67 20 2a 63 |unsigned| long *c|
|000013b0| 6c 6f 63 6b 29 3b 0d 73 | 74 72 75 63 74 20 74 6d |lock);.s|truct tm|
|000013c0| 20 2a 6c 6f 63 61 6c 74 | 69 6d 65 28 75 6e 73 69 | *localt|ime(unsi|
|000013d0| 67 6e 65 64 20 6c 6f 6e | 67 20 2a 63 6c 6f 63 6b |gned lon|g *clock|
|000013e0| 29 3b 0d 73 74 72 75 63 | 74 20 74 6d 20 2a 67 6d |);.struc|t tm *gm|
|000013f0| 74 69 6d 65 28 75 6e 73 | 69 67 6e 65 64 20 6c 6f |time(uns|igned lo|
|00001400| 6e 67 20 2a 63 6c 6f 63 | 6b 29 3b 0d 63 68 61 72 |ng *cloc|k);.char|
|00001410| 20 2a 61 73 63 74 69 6d | 65 28 73 74 72 75 63 74 | *asctim|e(struct|
|00001420| 20 74 6d 20 2a 55 6e 69 | 78 54 69 6d 65 52 65 63 | tm *Uni|xTimeRec|
|00001430| 70 29 3b 0d 0d 2f 2a 20 | 73 74 64 69 6f 20 2a 2f |p);../* |stdio */|
|00001440| 0d 0d 69 6e 74 09 66 65 | 6f 66 28 46 49 4c 45 20 |..int.fe|of(FILE |
|00001450| 2a 77 68 6f 29 3b 0d 69 | 6e 74 09 66 65 72 72 6f |*who);.i|nt.ferro|
|00001460| 72 28 46 49 4c 45 20 2a | 77 68 6f 29 3b 0d 76 6f |r(FILE *|who);.vo|
|00001470| 69 64 20 63 6c 65 61 72 | 65 72 72 28 46 49 4c 45 |id clear|err(FILE|
|00001480| 20 2a 77 68 6f 29 3b 0d | 76 6f 69 64 20 63 6c 72 | *who);.|void clr|
|00001490| 65 72 72 28 46 49 4c 45 | 20 2a 77 68 6f 29 3b 0d |err(FILE| *who);.|
|000014a0| 0d 69 6e 74 09 66 73 65 | 65 6b 28 46 49 4c 45 20 |.int.fse|ek(FILE |
|000014b0| 2a 77 68 6f 2c 20 6c 6f | 6e 67 20 6f 66 66 73 65 |*who, lo|ng offse|
|000014c0| 74 2c 20 69 6e 74 20 74 | 79 70 65 29 3b 0d 6c 6f |t, int t|ype);.lo|
|000014d0| 6e 67 20 66 74 65 6c 6c | 28 46 49 4c 45 20 2a 77 |ng ftell|(FILE *w|
|000014e0| 68 6f 29 3b 0d 69 6e 74 | 09 66 66 6c 75 73 68 28 |ho);.int|.fflush(|
|000014f0| 46 49 4c 45 20 2a 77 68 | 6f 29 3b 0d 76 6f 69 64 |FILE *wh|o);.void|
|00001500| 20 72 65 77 69 6e 64 28 | 46 49 4c 45 20 2a 77 68 | rewind(|FILE *wh|
|00001510| 6f 29 3b 0d 0d 69 6e 74 | 09 66 77 72 69 74 65 28 |o);..int|.fwrite(|
|00001520| 63 68 61 72 20 2a 70 74 | 72 2c 20 75 6e 73 69 67 |char *pt|r, unsig|
|00001530| 6e 65 64 20 73 69 7a 65 | 2c 20 69 6e 74 20 63 6f |ned size|, int co|
|00001540| 75 6e 74 2c 20 46 49 4c | 45 20 2a 77 68 6f 29 3b |unt, FIL|E *who);|
|00001550| 0d 69 6e 74 09 66 72 65 | 61 64 28 63 68 61 72 20 |.int.fre|ad(char |
|00001560| 2a 70 74 72 2c 20 75 6e | 73 69 67 6e 65 64 20 73 |*ptr, un|signed s|
|00001570| 69 7a 65 2c 20 69 6e 74 | 20 63 6f 75 6e 74 2c 20 |ize, int| count, |
|00001580| 46 49 4c 45 20 2a 77 68 | 6f 29 3b 0d 0d 69 6e 74 |FILE *wh|o);..int|
|00001590| 09 66 67 65 74 63 28 46 | 49 4c 45 20 2a 77 68 6f |.fgetc(F|ILE *who|
|000015a0| 29 3b 0d 63 68 61 72 20 | 2a 66 67 65 74 73 28 63 |);.char |*fgets(c|
|000015b0| 68 61 72 20 2a 73 2c 20 | 69 6e 74 20 6e 2c 20 46 |har *s, |int n, F|
|000015c0| 49 4c 45 20 2a 77 68 6f | 29 3b 0d 63 68 61 72 20 |ILE *who|);.char |
|000015d0| 2a 67 65 74 73 28 63 68 | 61 72 20 2a 73 29 3b 0d |*gets(ch|ar *s);.|
|000015e0| 69 6e 74 09 75 6e 67 65 | 74 63 28 63 68 61 72 20 |int.unge|tc(char |
|000015f0| 63 2c 20 46 49 4c 45 20 | 2a 77 68 6f 29 3b 0d 0d |c, FILE |*who);..|
|00001600| 69 6e 74 20 75 6e 67 65 | 74 63 68 28 69 6e 74 20 |int unge|tch(int |
|00001610| 63 29 3b 0d 69 6e 74 20 | 67 65 74 63 68 28 76 6f |c);.int |getch(vo|
|00001620| 69 64 29 3b 0d 69 6e 74 | 20 67 65 74 63 68 65 28 |id);.int| getche(|
|00001630| 76 6f 69 64 29 3b 0d 63 | 68 61 72 20 2a 63 67 65 |void);.c|har *cge|
|00001640| 74 73 28 63 68 61 72 20 | 2a 73 29 3b 0d 0d 2f 2a |ts(char |*s);../*|
|00001650| 09 46 6f 72 20 33 2e 30 | 2c 20 74 68 65 73 65 20 |.For 3.0|, these |
|00001660| 61 72 65 20 6d 61 63 72 | 6f 73 2e 0d 69 6e 74 09 |are macr|os..int.|
|00001670| 6d 69 6e 28 69 6e 74 20 | 76 31 2c 20 69 6e 74 20 |min(int |v1, int |
|00001680| 76 32 29 3b 0d 69 6e 74 | 09 6d 61 78 28 69 6e 74 |v2);.int|.max(int|
|00001690| 20 76 31 2c 20 69 6e 74 | 20 76 32 29 3b 0d 2a 2f | v1, int| v2);.*/|
|000016a0| 0d 0d 69 6e 74 09 66 63 | 6c 6f 73 65 28 46 49 4c |..int.fc|lose(FIL|
|000016b0| 45 20 2a 77 68 6f 29 3b | 0d 46 49 4c 45 20 2a 66 |E *who);|.FILE *f|
|000016c0| 6f 70 65 6e 28 63 68 61 | 72 20 2a 6e 61 6d 65 70 |open(cha|r *namep|
|000016d0| 74 72 2c 20 63 68 61 72 | 20 2a 74 79 70 65 29 3b |tr, char| *type);|
|000016e0| 0d 46 49 4c 45 20 2a 66 | 72 65 6f 70 65 6e 28 63 |.FILE *f|reopen(c|
|000016f0| 68 61 72 20 2a 6e 61 6d | 65 70 74 72 2c 20 63 68 |har *nam|eptr, ch|
|00001700| 61 72 20 2a 74 79 70 65 | 2c 20 46 49 4c 45 20 2a |ar *type|, FILE *|
|00001710| 77 68 6f 29 3b 0d 69 6e | 74 09 5f 63 6c 6f 73 65 |who);.in|t._close|
|00001720| 61 6c 6c 28 76 6f 69 64 | 29 3b 0d 0d 69 6e 74 09 |all(void|);..int.|
|00001730| 66 70 75 74 63 28 75 6e | 73 69 67 6e 65 64 20 63 |fputc(un|signed c|
|00001740| 68 61 72 20 63 2c 20 46 | 49 4c 45 20 2a 77 68 6f |har c, F|ILE *who|
|00001750| 29 3b 0d 69 6e 74 09 66 | 70 75 74 73 28 63 68 61 |);.int.f|puts(cha|
|00001760| 72 20 2a 73 2c 20 46 49 | 4c 45 20 2a 77 68 6f 29 |r *s, FI|LE *who)|
|00001770| 3b 0d 69 6e 74 20 70 75 | 74 73 28 63 68 61 72 20 |;.int pu|ts(char |
|00001780| 2a 73 29 3b 0d 0d 76 6f | 69 64 20 63 70 75 74 73 |*s);..vo|id cputs|
|00001790| 28 63 68 61 72 20 2a 73 | 29 3b 0d 76 6f 69 64 20 |(char *s|);.void |
|000017a0| 77 70 75 74 73 28 63 68 | 61 72 20 2a 73 29 3b 0d |wputs(ch|ar *s);.|
|000017b0| 69 6e 74 09 6b 62 68 69 | 74 28 76 6f 69 64 29 3b |int.kbhi|t(void);|
|000017c0| 0d 0d 69 6e 74 09 74 6f | 69 6e 74 28 63 68 61 72 |..int.to|int(char|
|000017d0| 20 63 29 3b 0d 69 6e 74 | 09 74 6f 75 70 70 65 72 | c);.int|.toupper|
|000017e0| 28 63 68 61 72 20 63 29 | 3b 0d 69 6e 74 09 74 6f |(char c)|;.int.to|
|000017f0| 6c 6f 77 65 72 28 63 68 | 61 72 20 63 29 3b 0d 69 |lower(ch|ar c);.i|
|00001800| 6e 74 09 5f 74 6f 75 70 | 70 65 72 28 63 68 61 72 |nt._toup|per(char|
|00001810| 20 63 29 3b 0d 69 6e 74 | 09 5f 74 6f 6c 6f 77 65 | c);.int|._tolowe|
|00001820| 72 28 63 68 61 72 20 63 | 29 3b 0d 69 6e 74 09 69 |r(char c|);.int.i|
|00001830| 73 75 70 70 65 72 28 63 | 68 61 72 20 63 29 3b 0d |supper(c|har c);.|
|00001840| 69 6e 74 09 69 73 6c 6f | 77 65 72 28 63 68 61 72 |int.islo|wer(char|
|00001850| 20 63 29 3b 0d 0d 63 68 | 61 72 20 2a 73 74 64 5f | c);..ch|ar *std_|
|00001860| 76 65 72 28 76 6f 69 64 | 29 3b 0d 0d 69 6e 74 20 |ver(void|);..int |
|00001870| 70 72 69 6e 74 66 28 63 | 68 61 72 20 2a 66 6d 74 |printf(c|har *fmt|
|00001880| 2c 20 2e 2e 2e 29 3b 0d | 69 6e 74 20 76 70 72 69 |, ...);.|int vpri|
|00001890| 6e 74 66 28 63 68 61 72 | 20 2a 66 6d 74 2c 20 63 |ntf(char| *fmt, c|
|000018a0| 68 61 72 20 2a 61 72 72 | 2c 20 2e 2e 2e 29 3b 0d |har *arr|, ...);.|
|000018b0| 69 6e 74 20 66 70 72 69 | 6e 74 66 28 46 49 4c 45 |int fpri|ntf(FILE|
|000018c0| 20 2a 77 68 6f 2c 20 63 | 68 61 72 20 2a 66 6d 74 | *who, c|har *fmt|
|000018d0| 2c 20 2e 2e 2e 29 3b 0d | 69 6e 74 20 76 66 70 72 |, ...);.|int vfpr|
|000018e0| 69 6e 74 66 28 46 49 4c | 45 20 2a 77 68 6f 2c 20 |intf(FIL|E *who, |
|000018f0| 63 68 61 72 20 2a 66 6d | 74 2c 20 63 68 61 72 20 |char *fm|t, char |
|00001900| 2a 61 72 72 2c 20 2e 2e | 2e 29 3b 0d 69 6e 74 20 |*arr, ..|.);.int |
|00001910| 63 70 72 69 6e 74 66 28 | 63 68 61 72 20 2a 66 6d |cprintf(|char *fm|
|00001920| 74 2c 20 2e 2e 2e 29 3b | 0d 69 6e 74 20 76 63 70 |t, ...);|.int vcp|
|00001930| 72 69 6e 74 66 28 63 68 | 61 72 20 2a 66 6d 74 2c |rintf(ch|ar *fmt,|
|00001940| 20 63 68 61 72 20 2a 61 | 72 72 2c 20 2e 2e 2e 29 | char *a|rr, ...)|
|00001950| 3b 0d 0d 69 6e 74 20 73 | 70 72 69 6e 74 66 28 63 |;..int s|printf(c|
|00001960| 68 61 72 20 2a 64 65 73 | 74 2c 20 63 68 61 72 20 |har *des|t, char |
|00001970| 2a 66 6d 74 2c 20 2e 2e | 2e 29 3b 0d 69 6e 74 20 |*fmt, ..|.);.int |
|00001980| 76 73 70 72 69 6e 74 66 | 28 63 68 61 72 20 2a 64 |vsprintf|(char *d|
|00001990| 65 73 74 2c 20 63 68 61 | 72 20 2a 66 6d 74 2c 20 |est, cha|r *fmt, |
|000019a0| 63 68 61 72 20 2a 61 72 | 72 2c 20 2e 2e 2e 29 3b |char *ar|r, ...);|
|000019b0| 0d 0d 69 6e 74 20 73 63 | 61 6e 66 28 63 68 61 72 |..int sc|anf(char|
|000019c0| 20 2a 66 6d 74 2c 20 2e | 2e 2e 29 3b 0d 69 6e 74 | *fmt, .|..);.int|
|000019d0| 20 63 73 63 61 6e 66 28 | 63 68 61 72 20 2a 66 6d | cscanf(|char *fm|
|000019e0| 74 2c 20 2e 2e 2e 29 3b | 0d 69 6e 74 20 66 73 63 |t, ...);|.int fsc|
|000019f0| 61 6e 66 28 46 49 4c 45 | 20 2a 77 68 6f 2c 20 63 |anf(FILE| *who, c|
|00001a00| 68 61 72 20 2a 66 6d 74 | 2c 20 2e 2e 2e 29 3b 0d |har *fmt|, ...);.|
|00001a10| 69 6e 74 20 73 73 63 61 | 6e 66 28 75 6e 73 69 67 |int ssca|nf(unsig|
|00001a20| 6e 65 64 20 63 68 61 72 | 20 2a 64 65 73 74 2c 20 |ned char| *dest, |
|00001a30| 63 68 61 72 20 2a 66 6d | 74 2c 20 2e 2e 2e 29 3b |char *fm|t, ...);|
|00001a40| 0d 0d 42 6f 6f 6c 65 61 | 6e 20 53 74 64 45 76 65 |..Boolea|n StdEve|
|00001a50| 6e 74 28 45 76 65 6e 74 | 52 65 63 6f 72 64 20 2a |nt(Event|Record *|
|00001a60| 65 76 65 6e 74 29 3b 0d | 46 49 4c 45 20 2a 66 6f |event);.|FILE *fo|
|00001a70| 70 65 6e 77 28 63 68 61 | 72 20 2a 74 69 74 6c 65 |penw(cha|r *title|
|00001a80| 62 61 72 2c 20 50 6f 69 | 6e 74 20 75 70 70 65 72 |bar, Poi|nt upper|
|00001a90| 5f 6c 65 66 74 2c 20 53 | 74 64 57 69 6e 64 6f 77 |_left, S|tdWindow|
|00001aa0| 4f 70 74 69 6f 6e 73 20 | 2a 6f 70 74 73 29 3b 0d |Options |*opts);.|
|00001ab0| 63 68 61 72 20 2a 47 65 | 74 5f 53 63 72 65 65 6e |char *Ge|t_Screen|
|00001ac0| 50 74 72 28 76 6f 69 64 | 29 3b 0d 73 65 74 77 69 |Ptr(void|);.setwi|
|00001ad0| 6e 64 6f 77 28 46 49 4c | 45 20 2a 77 69 6e 64 6f |ndow(FIL|E *windo|
|00001ae0| 77 66 69 6c 65 29 3b 0d | 76 6f 69 64 20 43 6c 69 |wfile);.|void Cli|
|00001af0| 63 6b 5f 4f 6e 28 69 6e | 74 20 66 6c 61 67 29 3b |ck_On(in|t flag);|
|00001b00| 0d 76 6f 69 64 20 53 74 | 64 69 6f 5f 43 6f 6e 66 |.void St|dio_Conf|
|00001b10| 69 67 28 69 6e 74 20 66 | 6f 6e 74 2c 20 69 6e 74 |ig(int f|ont, int|
|00001b20| 20 73 69 7a 65 2c 20 69 | 6e 74 20 66 61 63 65 2c | size, i|nt face,|
|00001b30| 20 69 6e 74 20 6d 6f 64 | 65 29 3b 0d 76 6f 69 64 | int mod|e);.void|
|00001b40| 20 53 74 64 69 6f 5f 63 | 6f 6e 66 69 67 28 69 6e | Stdio_c|onfig(in|
|00001b50| 74 20 66 6f 6e 74 2c 20 | 69 6e 74 20 73 69 7a 65 |t font, |int size|
|00001b60| 2c 20 69 6e 74 20 66 61 | 63 65 2c 20 69 6e 74 20 |, int fa|ce, int |
|00001b70| 6d 6f 64 65 29 3b 0d 76 | 6f 69 64 20 53 65 74 5f |mode);.v|oid Set_|
|00001b80| 45 63 68 6f 28 42 6f 6f | 6c 65 61 6e 20 73 74 61 |Echo(Boo|lean sta|
|00001b90| 74 65 29 3b 0d 76 6f 69 | 64 20 53 74 64 69 6f 5f |te);.voi|d Stdio_|
|00001ba0| 4d 61 63 49 6e 69 74 28 | 42 6f 6f 6c 65 61 6e 20 |MacInit(|Boolean |
|00001bb0| 66 6c 61 67 29 3b 0d 76 | 6f 69 64 20 53 65 74 5f |flag);.v|oid Set_|
|00001bc0| 54 61 62 28 69 6e 74 20 | 6c 65 6e 29 3b 0d 76 6f |Tab(int |len);.vo|
|00001bd0| 69 64 20 67 6f 74 6f 78 | 79 28 69 6e 74 20 78 2c |id gotox|y(int x,|
|00001be0| 20 69 6e 74 20 79 29 3b | 0d 69 6e 74 20 67 65 74 | int y);|.int get|
|00001bf0| 78 70 6f 73 28 76 6f 69 | 64 29 3b 0d 69 6e 74 20 |xpos(voi|d);.int |
|00001c00| 67 65 74 79 70 6f 73 28 | 76 6f 69 64 29 3b 0d 76 |getypos(|void);.v|
|00001c10| 6f 69 64 20 70 75 74 63 | 68 28 63 68 61 72 20 63 |oid putc|h(char c|
|00001c20| 29 3b 0d 0d 76 6f 69 64 | 20 53 65 74 46 50 55 28 |);..void| SetFPU(|
|00001c30| 69 6e 74 20 49 73 55 73 | 69 6e 67 46 50 55 29 3b |int IsUs|ingFPU);|
|00001c40| 0d 0d 23 69 66 6e 64 65 | 66 20 5f 73 65 74 6a 6d |..#ifnde|f _setjm|
|00001c50| 70 68 5f 0d 23 69 6e 63 | 6c 75 64 65 20 22 73 65 |ph_.#inc|lude "se|
|00001c60| 74 6a 6d 70 2e 68 22 0d | 23 65 6e 64 69 66 20 5f |tjmp.h".|#endif _|
|00001c70| 73 65 74 6a 6d 70 68 5f | 0d 0d 69 6e 74 20 73 65 |setjmph_|..int se|
|00001c80| 74 6a 6d 70 28 6a 6d 70 | 5f 62 75 66 20 65 6e 76 |tjmp(jmp|_buf env|
|00001c90| 29 3b 0d 76 6f 69 64 20 | 6c 6f 6e 67 6a 6d 70 28 |);.void |longjmp(|
|00001ca0| 6a 6d 70 5f 62 75 66 20 | 65 6e 76 2c 20 69 6e 74 |jmp_buf |env, int|
|00001cb0| 20 76 61 6c 29 3b 0d 00 | 00 00 00 00 00 00 00 00 | val);..|........|
|00001cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+