home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1995-07-19 | 1.8 KB | [TEXT/CWIE] |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
You can browse this item here: ffprintf.c
Confidence | Program | Detection | Match Type | Support
|
---|
66%
| dexvert
| Compact Compressed (Unix) (archive/compact)
| ext
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Wed Jul 19 18:49:48 1995, modified Wed Jul 19 18:49:48 1995, creator 'CWIE', type ASCII, 1060 bytes "ffprintf.c" , at 0x4a4 456 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [CWIE] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0a 66 66 70 72 69 6e | 74 66 2e 63 00 00 00 00 |..ffprin|tf.c....|
|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 43 57 49 | 45 01 00 00 00 00 00 00 |.TEXTCWI|E.......|
|00000050| 00 00 00 00 00 04 24 00 | 00 01 c8 ac 33 3c 8c ac |......$.|....3<..|
|00000060| 33 3c 8c 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |3<......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 9e 8f 00 00 |........|........|
|00000080| 2f 2a 0d 66 66 70 72 69 | 6e 74 66 2e 63 0d 66 66 |/*.ffpri|ntf.c.ff|
|00000090| 70 72 69 6e 74 66 28 6f | 2c 66 6f 72 6d 61 74 2c |printf(o|,format,|
|000000a0| 2e 2e 2e 29 3b 0d 55 73 | 65 73 20 66 70 72 69 6e |...);.Us|es fprin|
|000000b0| 74 66 20 74 6f 20 70 72 | 69 6e 74 20 74 6f 20 74 |tf to pr|int to t|
|000000c0| 77 6f 20 6f 75 74 70 75 | 74 20 73 74 72 65 61 6d |wo outpu|t stream|
|000000d0| 73 2c 20 6f 5b 30 5d 20 | 61 6e 64 20 6f 5b 31 5d |s, o[0] |and o[1]|
|000000e0| 2c 20 75 73 75 61 6c 6c | 79 20 73 74 64 6f 75 74 |, usuall|y stdout|
|000000f0| 20 61 6e 64 20 61 20 66 | 69 6c 65 2e 20 0d 41 6e | and a f|ile. .An|
|00000100| 79 20 4e 55 4c 4c 20 73 | 74 72 65 61 6d 20 69 73 |y NULL s|tream is|
|00000110| 20 69 67 6e 6f 72 65 64 | 2e 0d 49 74 20 61 6c 73 | ignored|..It als|
|00000120| 6f 20 73 61 76 65 73 20 | 61 6e 64 20 72 65 73 74 |o saves |and rest|
|00000130| 6f 72 65 73 20 74 68 65 | 20 70 6f 72 74 20 61 6e |ores the| port an|
|00000140| 64 20 47 44 65 76 69 63 | 65 2e 0d 43 6f 70 79 72 |d GDevic|e..Copyr|
|00000150| 69 67 68 74 20 28 63 29 | 20 31 39 39 30 20 44 65 |ight (c)| 1990 De|
|00000160| 6e 69 73 20 47 2e 20 50 | 65 6c 6c 69 0d 48 49 53 |nis G. P|elli.HIS|
|00000170| 54 4f 52 59 3a 0d 39 2f | 31 34 2f 39 30 09 64 67 |TORY:.9/|14/90.dg|
|00000180| 70 09 77 72 6f 74 65 20 | 69 74 2c 20 62 61 73 65 |p.wrote |it, base|
|00000190| 64 20 6f 6e 20 6d 79 20 | 55 73 65 72 50 72 69 6e |d on my |UserPrin|
|000001a0| 74 66 28 29 2c 20 77 68 | 69 63 68 20 69 74 20 72 |tf(), wh|ich it r|
|000001b0| 65 70 6c 61 63 65 73 0d | 38 2f 32 37 2f 39 32 09 |eplaces.|8/27/92.|
|000001c0| 64 67 70 09 63 68 65 63 | 6b 20 66 6f 72 20 38 2d |dgp.chec|k for 8-|
|000001d0| 62 69 74 20 71 75 69 63 | 6b 64 72 61 77 20 62 65 |bit quic|kdraw be|
|000001e0| 66 6f 72 65 20 75 73 69 | 6e 67 20 47 44 65 76 69 |fore usi|ng GDevi|
|000001f0| 63 65 73 2e 0d 37 2f 31 | 39 2f 39 35 20 64 67 70 |ces..7/1|9/95 dgp|
|00000200| 20 6d 61 64 65 20 63 6f | 6d 70 61 74 69 62 6c 65 | made co|mpatible|
|00000210| 20 77 69 74 68 20 53 74 | 61 6e 64 61 72 64 20 43 | with St|andard C|
|00000220| 2e 0d 2a 2f 0d 23 69 6e | 63 6c 75 64 65 20 22 56 |..*/.#in|clude "V|
|00000230| 69 64 65 6f 54 6f 6f 6c | 62 6f 78 2e 68 22 0d 23 |ideoTool|box.h".#|
|00000240| 69 6e 63 6c 75 64 65 20 | 3c 73 74 64 61 72 67 2e |include |<stdarg.|
|00000250| 68 3e 20 20 20 20 20 20 | 2f 2a 20 66 6f 72 20 76 |h> |/* for v|
|00000260| 61 72 69 61 62 6c 65 2d | 6e 75 6d 62 65 72 2d 6f |ariable-|number-o|
|00000270| 66 2d 61 72 67 75 6d 65 | 6e 74 20 6d 61 63 72 6f |f-argume|nt macro|
|00000280| 73 20 2a 2f 0d 0d 69 6e | 74 20 66 66 70 72 69 6e |s */..in|t ffprin|
|00000290| 74 66 28 46 49 4c 45 20 | 2a 73 74 72 65 61 6d 5b |tf(FILE |*stream[|
|000002a0| 32 5d 2c 63 68 61 72 20 | 2a 66 6f 72 6d 61 74 2c |2],char |*format,|
|000002b0| 2e 2e 2e 29 0d 7b 0d 09 | 76 61 5f 6c 69 73 74 20 |...).{..|va_list |
|000002c0| 61 72 67 73 3b 0d 09 69 | 6e 74 20 69 2c 6a 3b 0d |args;..i|nt i,j;.|
|000002d0| 09 23 69 66 20 4d 41 43 | 5f 43 0d 09 09 47 44 48 |.#if MAC|_C...GDH|
|000002e0| 61 6e 64 6c 65 20 6f 6c | 64 44 65 76 69 63 65 3b |andle ol|dDevice;|
|000002f0| 0d 09 09 6c 6f 6e 67 20 | 71 44 3d 30 3b 0d 09 23 |...long |qD=0;..#|
|00000300| 65 6e 64 69 66 0d 20 20 | 0d 09 23 69 66 20 4d 41 |endif. |..#if MA|
|00000310| 43 5f 43 0d 09 09 47 65 | 73 74 61 6c 74 28 67 65 |C_C...Ge|stalt(ge|
|00000320| 73 74 61 6c 74 51 75 69 | 63 6b 64 72 61 77 56 65 |staltQui|ckdrawVe|
|00000330| 72 73 69 6f 6e 2c 26 71 | 44 29 3b 0d 09 09 69 66 |rsion,&q|D);...if|
|00000340| 28 71 44 3e 3d 67 65 73 | 74 61 6c 74 38 42 69 74 |(qD>=ges|talt8Bit|
|00000350| 51 44 29 7b 0d 09 09 09 | 6f 6c 64 44 65 76 69 63 |QD){....|oldDevic|
|00000360| 65 20 3d 20 47 65 74 47 | 44 65 76 69 63 65 28 29 |e = GetG|Device()|
|00000370| 3b 0d 09 09 09 53 65 74 | 47 44 65 76 69 63 65 28 |;....Set|GDevice(|
|00000380| 47 65 74 4d 61 69 6e 44 | 65 76 69 63 65 28 29 29 |GetMainD|evice())|
|00000390| 3b 0d 09 09 7d 0d 09 23 | 65 6e 64 69 66 0d 09 0d |;...}..#|endif...|
|000003a0| 09 2f 2a 20 70 72 69 6e | 74 20 63 6f 70 69 65 73 |./* prin|t copies|
|000003b0| 20 74 6f 20 61 6c 6c 20 | 6e 6f 6e 2d 4e 55 4c 4c | to all |non-NULL|
|000003c0| 20 73 74 72 65 61 6d 73 | 20 69 6e 20 73 74 72 65 | streams| in stre|
|000003d0| 61 6d 5b 5d 20 2a 2f 0d | 09 66 6f 72 28 69 3d 30 |am[] */.|.for(i=0|
|000003e0| 3b 69 3c 32 3b 20 69 2b | 2b 29 7b 0d 09 09 76 61 |;i<2; i+|+){...va|
|000003f0| 5f 73 74 61 72 74 28 61 | 72 67 73 2c 20 66 6f 72 |_start(a|rgs, for|
|00000400| 6d 61 74 29 3b 0d 09 09 | 69 66 28 73 74 72 65 61 |mat);...|if(strea|
|00000410| 6d 5b 69 5d 20 21 3d 20 | 4e 55 4c 4c 29 20 6a 3d |m[i] != |NULL) j=|
|00000420| 76 66 70 72 69 6e 74 66 | 28 73 74 72 65 61 6d 5b |vfprintf|(stream[|
|00000430| 69 5d 2c 66 6f 72 6d 61 | 74 2c 61 72 67 73 29 3b |i],forma|t,args);|
|00000440| 0d 09 7d 0d 09 76 61 5f | 65 6e 64 28 61 72 67 73 |..}..va_|end(args|
|00000450| 29 3b 0d 09 0d 09 23 69 | 66 20 4d 41 43 5f 43 0d |);....#i|f MAC_C.|
|00000460| 09 09 69 66 28 71 44 3e | 3d 67 65 73 74 61 6c 74 |..if(qD>|=gestalt|
|00000470| 38 42 69 74 51 44 29 53 | 65 74 47 44 65 76 69 63 |8BitQD)S|etGDevic|
|00000480| 65 28 6f 6c 64 44 65 76 | 69 63 65 29 3b 0d 09 23 |e(oldDev|ice);..#|
|00000490| 65 6e 64 69 66 0d 0d 09 | 72 65 74 75 72 6e 20 6a |endif...|return j|
|000004a0| 3b 0d 7d 0d 00 00 00 00 | 00 00 00 00 00 00 00 00 |;.}.....|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 01 00 00 00 01 76 | 00 00 00 76 00 00 00 52 |.......v|...v...R|
|00000510| 03 66 00 00 00 00 00 00 | 00 00 01 fd 00 00 04 61 |.f......|.......a|
|00000520| 00 d5 00 00 00 00 00 70 | 00 00 04 b4 00 00 04 71 |.......p|.......q|
|00000530| 0a 66 66 70 72 69 6e 74 | 66 2e 63 69 02 00 00 00 |.ffprint|f.ci....|
|00000540| 54 45 58 54 43 57 49 45 | 01 00 00 3c 01 80 00 00 |TEXTCWIE|...<....|
|00000550| 00 00 54 45 58 54 43 57 | 49 45 01 00 00 3c 01 80 |..TEXTCW|IE...<..|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 a3 17 14 6b 00 00 | 04 24 00 00 01 c8 05 83 |.....k..|.$......|
|00000580| 03 ec 00 00 00 00 00 00 | 00 00 02 02 00 00 06 03 |........|........|
|00000590| 03 2e 00 00 00 00 00 00 | 00 00 02 53 00 00 06 31 |........|...S...1|
|000005a0| 03 ba 00 00 00 00 00 00 | 00 00 00 d2 00 00 06 6f |........|.......o|
|000005b0| 01 ed 00 00 00 00 00 26 | 00 00 05 be 00 00 06 95 |.......&|........|
|000005c0| 02 c1 00 00 00 00 00 6d | 00 00 02 04 00 00 06 c0 |.......m|........|
|000005d0| 01 f9 00 00 00 00 00 00 | 00 00 06 30 00 00 06 da |........|...0....|
|000005e0| 02 51 00 00 00 00 00 07 | 00 00 05 ec 00 00 07 0d |.Q......|........|
|000005f0| 04 00 00 00 00 00 00 fd | 00 00 02 1e 00 00 07 0d |........|........|
|00000600| 00 00 00 1e 00 2a 00 03 | 01 d1 01 ff 00 2a 00 03 |.....*..|.....*..|
|00000610| 01 6b 01 3a 00 00 00 00 | 00 00 00 00 00 00 00 00 |.k.:....|........|
|00000620| 00 00 00 00 00 48 00 09 | 4d 6f 6e 61 63 6f 00 00 |.....H..|Monaco..|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 03 00 04 00 3d 00 03 |........|.....=..|
|00000650| 01 dc 01 ff 00 3d 00 03 | 01 dc 01 ff ad 8f 3b 97 |.....=..|......;.|
|00000660| 00 00 01 4f 00 00 01 53 | 00 00 00 00 00 00 00 00 |...O...S|........|
|00000670| 00 04 00 01 00 01 00 00 | 01 00 00 00 01 76 00 00 |........|.....v..|
|00000680| 00 76 00 00 00 52 01 d2 | 97 1c 38 ec 00 00 00 1c |.v...R..|..8.....|
|00000690| 00 52 00 01 4d 50 53 52 | 00 01 00 12 4d 57 42 42 |.R..MPSR|....MWBB|
|000006a0| 00 00 00 2a 03 f0 ff ff | 00 00 00 00 00 00 00 00 |...*....|........|
|000006b0| 03 ed ff ff 00 00 00 22 | 00 00 00 00 03 f0 ff ff |......."|........|
|000006c0| 00 00 00 6e 00 00 00 00 | 00 00 00 00 00 00 00 00 |...n....|........|
|000006d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+