DataMuseum.dk

Presents historical artifacts from the history of:

RC9000

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about RC9000

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: X

⟦68b9d3543⟧

    Length: 4416 (0x1140)
    Names: »XQueryColor.3X«

Derivation

└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
    └─⟦bbf173f5c⟧ »0004« 
        └─⟦this⟧ »./usr/man/cat3/XQueryColor.3X« 

Default Hex Dump

0x0000…0020 0a 0a 0a 5f 08 4f 5f 08 6e 5f 08 6c 5f 08 69 5f 08 6e 5f 08 65 20 5f 08 4d 5f 08 61 5f 08 6e 5f   ┆   _ O_ n_ l_ i_ n_ e _ M_ a_ n_┆
0x0020…0040 08 75 5f 08 61 5f 08 6c 20 20 20 20 20 20 20 20 20 20 20 4c 69 62 72 61 72 79 20 46 75 6e 63 74   ┆ u_ a_ l           Library Funct┆
0x0040…0060 69 6f 6e 73 20 20 20 20 20 20 20 20 20 58 51 75 65 72 79 43 6f 6c 6f 72 28 33 58 29 0a 0a 0a 0a   ┆ions         XQueryColor(3X)    ┆
0x0060…0080 4e 08 4e 08 4e 08 4e 41 08 41 08 41 08 41 4d 08 4d 08 4d 08 4d 45 08 45 08 45 08 45 0a 20 20 20   ┆N N N NA A A AM M M ME E E E    ┆
0x0080…00a0 20 20 58 51 75 65 72 79 43 6f 6c 6f 72 2c 20 58 51 75 65 72 79 43 6f 6c 6f 72 73 2c 20 58 4c 6f   ┆  XQueryColor, XQueryColors, XLo┆
0x00a0…00c0 6f 6b 75 70 43 6f 6c 6f 72 20 2d 20 6f 62 74 61 69 6e 20 63 6f 6c 6f 72 0a 20 20 20 20 20 76 61   ┆okupColor - obtain color      va┆
0x00c0…00e0 6c 75 65 73 0a 0a 53 08 53 08 53 08 53 59 08 59 08 59 08 59 4e 08 4e 08 4e 08 4e 54 08 54 08 54   ┆lues  S S S SY Y Y YN N N NT T T┆
0x00e0…0100 08 54 41 08 41 08 41 08 41 58 08 58 08 58 08 58 0a 20 20 20 20 20 58 51 75 65 72 79 43 6f 6c 6f   ┆ TA A A AX X X X      XQueryColo┆
0x0100…0120 72 28 5f 08 64 5f 08 69 5f 08 73 5f 08 70 5f 08 6c 5f 08 61 5f 08 79 2c 20 5f 08 63 5f 08 6f 5f   ┆r(_ d_ i_ s_ p_ l_ a_ y, _ c_ o_┆
0x0120…0140 08 6c 5f 08 6f 5f 08 72 5f 08 6d 5f 08 61 5f 08 70 2c 20 5f 08 64 5f 08 65 5f 08 66 5f 5f 08 69   ┆ l_ o_ r_ m_ a_ p, _ d_ e_ f__ i┆
0x0140…0160 5f 08 6e 5f 5f 08 6f 5f 08 75 5f 08 74 29 0a 20 20 20 20 20 20 20 20 20 20 20 44 69 73 70 6c 61   ┆_ n__ o_ u_ t)            Displa┆
0x0160…0180 79 20 2a 5f 08 64 5f 08 69 5f 08 73 5f 08 70 5f 08 6c 5f 08 61 5f 08 79 3b 0a 20 20 20 20 20 20   ┆y *_ d_ i_ s_ p_ l_ a_ y;       ┆
0x0180…01a0 20 20 20 20 20 43 6f 6c 6f 72 6d 61 70 20 5f 08 63 5f 08 6f 5f 08 6c 5f 08 6f 5f 08 72 5f 08 6d   ┆     Colormap _ c_ o_ l_ o_ r_ m┆
0x01a0…01c0 5f 08 61 5f 08 70 3b 0a 20 20 20 20 20 20 20 20 20 20 20 58 43 6f 6c 6f 72 20 2a 5f 08 64 5f 08   ┆_ a_ p;            XColor *_ d_ ┆
0x01c0…01e0 65 5f 08 66 5f 5f 08 69 5f 08 6e 5f 5f 08 6f 5f 08 75 5f 08 74 3b 0a 0a 20 20 20 20 20 58 51 75   ┆e_ f__ i_ n__ o_ u_ t;       XQu┆
0x01e0…0200 65 72 79 43 6f 6c 6f 72 73 28 5f 08 64 5f 08 69 5f 08 73 5f 08 70 5f 08 6c 5f 08 61 5f 08 79 2c   ┆eryColors(_ d_ i_ s_ p_ l_ a_ y,┆
0x0200…0220 20 5f 08 63 5f 08 6f 5f 08 6c 5f 08 6f 5f 08 72 5f 08 6d 5f 08 61 5f 08 70 2c 20 5f 08 64 5f 08   ┆ _ c_ o_ l_ o_ r_ m_ a_ p, _ d_ ┆
0x0220…0240 65 5f 08 66 5f 08 73 5f 5f 08 69 5f 08 6e 5f 5f 08 6f 5f 08 75 5f 08 74 2c 20 5f 08 6e 5f 08 63   ┆e_ f_ s__ i_ n__ o_ u_ t, _ n_ c┆
0x0240…0260 5f 08 6f 5f 08 6c 5f 08 6f 5f 08 72 5f 08 73 29 0a 20 20 20 20 20 20 20 20 20 20 20 44 69 73 70   ┆_ o_ l_ o_ r_ s)            Disp┆
0x0260…0280 6c 61 79 20 2a 5f 08 64 5f 08 69 5f 08 73 5f 08 70 5f 08 6c 5f 08 61 5f 08 79 3b 0a 20 20 20 20   ┆lay *_ d_ i_ s_ p_ l_ a_ y;     ┆
0x0280…02a0 20 20 20 20 20 20 20 43 6f 6c 6f 72 6d 61 70 20 5f 08 63 5f 08 6f 5f 08 6c 5f 08 6f 5f 08 72 5f   ┆       Colormap _ c_ o_ l_ o_ r_┆
0x02a0…02c0 08 6d 5f 08 61 5f 08 70 3b 0a 20 20 20 20 20 20 20 20 20 20 20 58 43 6f 6c 6f 72 20 5f 08 64 5f   ┆ m_ a_ p;            XColor _ d_┆
0x02c0…02e0 08 65 5f 08 66 5f 08 73 5f 5f 08 69 5f 08 6e 5f 5f 08 6f 5f 08 75 5f 08 74 5b 5d 3b 0a 20 20 20   ┆ e_ f_ s__ i_ n__ o_ u_ t[];    ┆
0x02e0…0300 20 20 20 20 20 20 20 20 69 6e 74 20 5f 08 6e 5f 08 63 5f 08 6f 5f 08 6c 5f 08 6f 5f 08 72 5f 08   ┆        int _ n_ c_ o_ l_ o_ r_ ┆
0x0300…0320 73 3b 0a 0a 20 20 20 20 20 53 74 61 74 75 73 20 58 4c 6f 6f 6b 75 70 43 6f 6c 6f 72 28 5f 08 64   ┆s;       Status XLookupColor(_ d┆
0x0320…0340 5f 08 69 5f 08 73 5f 08 70 5f 08 6c 5f 08 61 5f 08 79 2c 20 5f 08 63 5f 08 6f 5f 08 6c 5f 08 6f   ┆_ i_ s_ p_ l_ a_ y, _ c_ o_ l_ o┆
0x0340…0360 5f 08 72 5f 08 6d 5f 08 61 5f 08 70 2c 20 5f 08 63 5f 08 6f 5f 08 6c 5f 08 6f 5f 08 72 5f 5f 08   ┆_ r_ m_ a_ p, _ c_ o_ l_ o_ r__ ┆
0x0360…0380 6e 5f 08 61 5f 08 6d 5f 08 65 2c 0a 20 20 20 20 20 5f 08 65 5f 08 78 5f 08 61 5f 08 63 5f 08 74   ┆n_ a_ m_ e,      _ e_ x_ a_ c_ t┆
0x0380…03a0 5f 5f 08 64 5f 08 65 5f 08 66 5f 5f 08 72 5f 08 65 5f 08 74 5f 08 75 5f 08 72 5f 08 6e 2c 20 5f   ┆__ d_ e_ f__ r_ e_ t_ u_ r_ n, _┆
0x03a0…03c0 08 73 5f 08 63 5f 08 72 5f 08 65 5f 08 65 5f 08 6e 5f 5f 08 64 5f 08 65 5f 08 66 5f 5f 08 72 5f   ┆ s_ c_ r_ e_ e_ n__ d_ e_ f__ r_┆
0x03c0…03e0 08 65 5f 08 74 5f 08 75 5f 08 72 5f 08 6e 29 0a 20 20 20 20 20 20 20 20 20 20 20 44 69 73 70 6c   ┆ e_ t_ u_ r_ n)            Displ┆
0x03e0…0400 61 79 20 2a 5f 08 64 5f 08 69 5f 08 73 5f 08 70 5f 08 6c 5f 08 61 5f 08 79 3b 0a 20 20 20 20 20   ┆ay *_ d_ i_ s_ p_ l_ a_ y;      ┆
0x0400…0420 20 20 20 20 20 20 43 6f 6c 6f 72 6d 61 70 20 5f 08 63 5f 08 6f 5f 08 6c 5f 08 6f 5f 08 72 5f 08   ┆      Colormap _ c_ o_ l_ o_ r_ ┆
0x0420…0440 6d 5f 08 61 5f 08 70 3b 0a 20 20 20 20 20 20 20 20 20 20 20 63 68 61 72 20 2a 5f 08 63 5f 08 6f   ┆m_ a_ p;            char *_ c_ o┆
0x0440…0460 5f 08 6c 5f 08 6f 5f 08 72 5f 5f 08 6e 5f 08 61 5f 08 6d 5f 08 65 3b 0a 20 20 20 20 20 20 20 20   ┆_ l_ o_ r__ n_ a_ m_ e;         ┆
0x0460…0480 20 20 20 58 43 6f 6c 6f 72 20 2a 5f 08 65 5f 08 78 5f 08 61 5f 08 63 5f 08 74 5f 5f 08 64 5f 08   ┆   XColor *_ e_ x_ a_ c_ t__ d_ ┆
0x0480…04a0 65 5f 08 66 5f 5f 08 72 5f 08 65 5f 08 74 5f 08 75 5f 08 72 5f 08 6e 2c 20 2a 5f 08 73 5f 08 63   ┆e_ f__ r_ e_ t_ u_ r_ n, *_ s_ c┆
0x04a0…04c0 5f 08 72 5f 08 65 5f 08 65 5f 08 6e 5f 5f 08 64 5f 08 65 5f 08 66 5f 5f 08 72 5f 08 65 5f 08 74   ┆_ r_ e_ e_ n__ d_ e_ f__ r_ e_ t┆
0x04c0…04e0 5f 08 75 5f 08 72 5f 08 6e 3b 0a 0a 41 08 41 08 41 08 41 52 08 52 08 52 08 52 47 08 47 08 47 08   ┆_ u_ r_ n;  A A A AR R R RG G G ┆
0x04e0…0500 47 55 08 55 08 55 08 55 4d 08 4d 08 4d 08 4d 45 08 45 08 45 08 45 4e 08 4e 08 4e 08 4e 54 08 54   ┆GU U U UM M M ME E E EN N N NT T┆
0x0500…0520 08 54 08 54 53 08 53 08 53 08 53 0a 20 20 20 20 20 5f 08 63 5f 08 6f 5f 08 6c 5f 08 6f 5f 08 72   ┆ T TS S S S      _ c_ o_ l_ o_ r┆
0x0520…0540 5f 08 6d 5f 08 61 5f 08 70 20 20 53 70 65 63 69 66 69 65 73 20 74 68 65 20 63 6f 6c 6f 72 6d 61   ┆_ m_ a_ p  Specifies the colorma┆
0x0540…0560 70 2e 0a 0a 20 20 20 20 20 5f 08 63 5f 08 6f 5f 08 6c 5f 08 6f 5f 08 72 5f 5f 08 6e 5f 08 61 5f   ┆p.       _ c_ o_ l_ o_ r__ n_ a_┆
0x0560…0580 08 6d 5f 08 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 53 70 65 63 69 66 69 65 73 20 74   ┆ m_ e                Specifies t┆
0x0580…05a0 68 65 20 63 6f 6c 6f 72 20 6e 61 6d 65 20 73 74 72 69 6e 67 20 28 66 6f 72 20 65 78 61 6d 70 6c   ┆he color name string (for exampl┆
0x05a0…05c0 65 2c 20 72 65 64 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 77 68 6f 73 65 20 63 6f 6c   ┆e, red)                whose col┆
0x05c0…05e0 6f 72 20 64 65 66 69 6e 69 74 69 6f 6e 20 73 74 72 75 63 74 75 72 65 20 79 6f 75 20 77 61 6e 74   ┆or definition structure you want┆
0x05e0…0600 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 65 64 2e 0a 0a 20 20 20 20 20   ┆                returned.       ┆
0x0600…0620 5f 08 64 5f 08 65 5f 08 66 5f 5f 08 69 5f 08 6e 5f 5f 08 6f 5f 08 75 5f 08 74 0a 20 20 20 20 20   ┆_ d_ e_ f__ i_ n__ o_ u_ t      ┆
0x0620…0640 20 20 20 20 20 20 20 20 20 20 53 70 65 63 69 66 69 65 73 20 61 6e 64 20 72 65 74 75 72 6e 73 20   ┆          Specifies and returns ┆
0x0640…0660 74 68 65 20 52 47 42 20 76 61 6c 75 65 73 20 66 6f 72 20 74 68 65 20 70 69 78 65 6c 0a 20 20 20   ┆the RGB values for the pixel    ┆
0x0660…0680 20 20 20 20 20 20 20 20 20 20 20 20 73 70 65 63 69 66 69 65 64 20 69 6e 20 74 68 65 20 73 74 72   ┆            specified in the str┆
0x0680…06a0 75 63 74 75 72 65 2e 0a 0a 20 20 20 20 20 5f 08 64 5f 08 65 5f 08 66 5f 08 73 5f 5f 08 69 5f 08   ┆ucture.       _ d_ e_ f_ s__ i_ ┆
0x06a0…06c0 6e 5f 5f 08 6f 5f 08 75 5f 08 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 53 70 65 63 69   ┆n__ o_ u_ t                Speci┆
0x06c0…06e0 66 69 65 73 20 61 6e 64 20 72 65 74 75 72 6e 73 20 61 6e 20 61 72 72 61 79 20 6f 66 20 63 6f 6c   ┆fies and returns an array of col┆
0x06e0…0700 6f 72 20 64 65 66 69 6e 69 74 69 6f 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 74 72   ┆or definition                str┆
0x0700…0720 75 63 74 75 72 65 73 20 66 6f 72 20 74 68 65 20 70 69 78 65 6c 20 73 70 65 63 69 66 69 65 64 20   ┆uctures for the pixel specified ┆
0x0720…0740 69 6e 20 74 68 65 20 73 74 72 75 63 2d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 75 72   ┆in the struc-                tur┆
0x0740…0760 65 2e 0a 0a 20 20 20 20 20 5f 08 64 5f 08 69 5f 08 73 5f 08 70 5f 08 6c 5f 08 61 5f 08 79 20 20   ┆e.       _ d_ i_ s_ p_ l_ a_ y  ┆
0x0760…0780 20 53 70 65 63 69 66 69 65 73 20 74 68 65 20 63 6f 6e 6e 65 63 74 69 6f 6e 20 74 6f 20 74 68 65   ┆ Specifies the connection to the┆
0x0780…07a0 20 58 20 73 65 72 76 65 72 2e 0a 0a 20 20 20 20 20 5f 08 65 5f 08 78 5f 08 61 5f 08 63 5f 08 74   ┆ X server.       _ e_ x_ a_ c_ t┆
0x07a0…07c0 5f 5f 08 64 5f 08 65 5f 08 66 5f 5f 08 72 5f 08 65 5f 08 74 5f 08 75 5f 08 72 5f 08 6e 0a 20 20   ┆__ d_ e_ f__ r_ e_ t_ u_ r_ n   ┆
0x07c0…07e0 20 20 20 20 20 20 20 20 20 20 20 20 20 52 65 74 75 72 6e 73 20 74 68 65 20 65 78 61 63 74 20 52   ┆             Returns the exact R┆
0x07e0…0800 47 42 20 76 61 6c 75 65 73 2e 0a 0a 20 20 20 20 20 5f 08 6e 5f 08 63 5f 08 6f 5f 08 6c 5f 08 6f   ┆GB values.       _ n_ c_ o_ l_ o┆
0x0800…0820 5f 08 72 5f 08 73 20 20 20 53 70 65 63 69 66 69 65 73 20 74 68 65 20 6e 75 6d 62 65 72 20 6f 66   ┆_ r_ s   Specifies the number of┆
0x0820…0840 20 5f 08 58 5f 08 43 5f 08 6f 5f 08 6c 5f 08 6f 5f 08 72 20 73 74 72 75 63 74 75 72 65 73 20 69   ┆ _ X_ C_ o_ l_ o_ r structures i┆
0x0840…0860 6e 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 6c 6f 72 20 64 65 66 69 6e   ┆n the                color defin┆
0x0860…0880 69 74 69 6f 6e 20 61 72 72 61 79 2e 0a 0a 20 20 20 20 20 5f 08 73 5f 08 63 5f 08 72 5f 08 65 5f   ┆ition array.       _ s_ c_ r_ e_┆
0x0880…08a0 08 65 5f 08 6e 5f 5f 08 64 5f 08 65 5f 08 66 5f 5f 08 72 5f 08 65 5f 08 74 5f 08 75 5f 08 72 5f   ┆ e_ n__ d_ e_ f__ r_ e_ t_ u_ r_┆
0x08a0…08c0 08 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 52 65 74 75 72 6e 73 20 74 68 65 20 63 6c   ┆ n                Returns the cl┆
0x08c0…08e0 6f 73 65 73 74 20 52 47 42 20 76 61 6c 75 65 73 20 70 72 6f 76 69 64 65 64 20 62 79 20 74 68 65   ┆osest RGB values provided by the┆
0x08e0…0900 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 68 61 72 64 77 61 72 65 2e 0a 0a 44 08 44 08 44   ┆                hardware.  D D D┆
0x0900…0920 08 44 45 08 45 08 45 08 45 53 08 53 08 53 08 53 43 08 43 08 43 08 43 52 08 52 08 52 08 52 49 08   ┆ DE E E ES S S SC C C CR R R RI ┆
0x0920…0940 49 08 49 08 49 50 08 50 08 50 08 50 54 08 54 08 54 08 54 49 08 49 08 49 08 49 4f 08 4f 08 4f 08   ┆I I IP P P PT T T TI I I IO O O ┆
0x0940…0960 4f 4e 08 4e 08 4e 08 4e 0a 20 20 20 20 20 54 68 65 20 5f 08 58 5f 08 51 5f 08 75 5f 08 65 5f 08   ┆ON N N N      The _ X_ Q_ u_ e_ ┆
0x0960…0980 72 5f 08 79 5f 08 43 5f 08 6f 5f 08 6c 5f 08 6f 5f 08 72 20 66 75 6e 63 74 69 6f 6e 20 72 65 74   ┆r_ y_ C_ o_ l_ o_ r function ret┆
0x0980…09a0 75 72 6e 73 20 74 68 65 20 68 61 72 64 77 61 72 65 2d 73 70 65 63 69 66 69 63 20 52 47 42 0a 20   ┆urns the hardware-specific RGB  ┆
0x09a0…09c0 20 20 20 20 76 61 6c 75 65 73 20 66 6f 72 20 65 61 63 68 20 70 69 78 65 6c 20 69 6e 20 74 68 65   ┆    values for each pixel in the┆
0x09c0…09e0 20 5f 08 58 5f 08 43 5f 08 6f 5f 08 6c 5f 08 6f 5f 08 72 20 73 74 72 75 63 74 75 72 65 73 20 61   ┆ _ X_ C_ o_ l_ o_ r structures a┆
0x09e0…0a00 6e 64 20 73 65 74 73 20 74 68 65 0a 20 20 20 20 20 5f 08 44 5f 08 6f 5f 08 52 5f 08 65 5f 08 64   ┆nd sets the      _ D_ o_ R_ e_ d┆
0x0a00…0a20 2c 20 5f 08 44 5f 08 6f 5f 08 47 5f 08 72 5f 08 65 5f 08 65 5f 08 6e 2c 20 61 6e 64 20 5f 08 44   ┆, _ D_ o_ G_ r_ e_ e_ n, and _ D┆
0x0a20…0a40 5f 08 6f 5f 08 42 5f 08 6c 5f 08 75 5f 08 65 20 66 6c 61 67 73 2e 20 20 54 68 65 20 5f 08 58 5f   ┆_ o_ B_ l_ u_ e flags.  The _ X_┆
0x0a40…0a60 08 51 5f 08 75 5f 08 65 5f 08 72 5f 08 79 5f 08 43 5f 08 6f 5f 08 6c 5f 08 6f 5f 08 72 5f 08 73   ┆ Q_ u_ e_ r_ y_ C_ o_ l_ o_ r_ s┆
0x0a60…0a80 20 66 75 6e 63 74 69 6f 6e 0a 20 20 20 20 20 72 65 74 75 72 6e 73 20 74 68 65 20 52 47 42 20 76   ┆ function      returns the RGB v┆
0x0a80…0aa0 61 6c 75 65 73 20 66 6f 72 20 65 61 63 68 20 70 69 78 65 6c 20 69 6e 20 74 68 65 20 5f 08 58 5f   ┆alues for each pixel in the _ X_┆
0x0aa0…0ac0 08 43 5f 08 6f 5f 08 6c 5f 08 6f 5f 08 72 20 73 74 72 75 63 2d 0a 20 20 20 20 20 74 75 72 65 73   ┆ C_ o_ l_ o_ r struc-      tures┆
0x0ac0…0ae0 20 61 6e 64 20 73 65 74 73 20 74 68 65 20 5f 08 44 5f 08 6f 5f 08 52 5f 08 65 5f 08 64 2c 20 5f   ┆ and sets the _ D_ o_ R_ e_ d, _┆
0x0ae0…0b00 08 44 5f 08 6f 5f 08 47 5f 08 72 5f 08 65 5f 08 65 5f 08 6e 2c 20 61 6e 64 20 5f 08 44 5f 08 6f   ┆ D_ o_ G_ r_ e_ e_ n, and _ D_ o┆
0x0b00…0b20 5f 08 42 5f 08 6c 5f 08 75 5f 08 65 20 66 6c 61 67 73 2e 0a 0a 0a 0a 0a 0a 0a 0a 20 20 20 20 20   ┆_ B_ l_ u_ e flags.             ┆
0x0b20…0b40 5f 08 58 5f 08 51 5f 08 75 5f 08 65 5f 08 72 5f 08 79 5f 08 43 5f 08 6f 5f 08 6c 5f 08 6f 5f 08   ┆_ X_ Q_ u_ e_ r_ y_ C_ o_ l_ o_ ┆
0x0b40…0b60 72 20 61 6e 64 20 5f 08 58 5f 08 51 5f 08 75 5f 08 65 5f 08 72 5f 08 79 5f 08 43 5f 08 6f 5f 08   ┆r and _ X_ Q_ u_ e_ r_ y_ C_ o_ ┆
0x0b60…0b80 6c 5f 08 6f 5f 08 72 5f 08 73 20 63 61 6e 20 67 65 6e 65 72 61 74 65 20 5f 08 42 5f 08 61 5f 08   ┆l_ o_ r_ s can generate _ B_ a_ ┆
0x0b80…0ba0 64 5f 08 43 5f 08 6f 5f 08 6c 5f 08 6f 5f 08 72 20 61 6e 64 20 5f 08 42 5f 08 61 5f 08 64 5f 08   ┆d_ C_ o_ l_ o_ r and _ B_ a_ d_ ┆
0x0ba0…0bc0 2d 0a 20 20 20 20 20 5f 08 56 5f 08 61 5f 08 6c 5f 08 75 5f 08 65 20 65 72 72 6f 72 73 2e 0a 0a   ┆-      _ V_ a_ l_ u_ e errors.  ┆
0x0bc0…0be0 20 20 20 20 20 54 68 65 20 5f 08 58 5f 08 4c 5f 08 6f 5f 08 6f 5f 08 6b 5f 08 75 5f 08 70 5f 08   ┆     The _ X_ L_ o_ o_ k_ u_ p_ ┆
0x0be0…0c00 43 5f 08 6f 5f 08 6c 5f 08 6f 5f 08 72 20 66 75 6e 63 74 69 6f 6e 20 6c 6f 6f 6b 73 20 75 70 20   ┆C_ o_ l_ o_ r function looks up ┆
0x0c00…0c20 74 68 65 20 73 74 72 69 6e 67 20 6e 61 6d 65 20 6f 66 20 61 0a 20 20 20 20 20 63 6f 6c 6f 72 20   ┆the string name of a      color ┆
0x0c20…0c40 77 69 74 68 20 72 65 73 70 65 63 74 20 74 6f 20 74 68 65 20 73 63 72 65 65 6e 20 61 73 73 6f 63   ┆with respect to the screen assoc┆
0x0c40…0c60 69 61 74 65 64 20 77 69 74 68 20 74 68 65 20 73 70 65 63 69 2d 0a 20 20 20 20 20 66 69 65 64 20   ┆iated with the speci-      fied ┆
0x0c60…0c80 63 6f 6c 6f 72 6d 61 70 2e 20 20 49 74 20 72 65 74 75 72 6e 73 20 62 6f 74 68 20 74 68 65 20 65   ┆colormap.  It returns both the e┆
0x0c80…0ca0 78 61 63 74 20 63 6f 6c 6f 72 20 76 61 6c 75 65 73 20 61 6e 64 0a 20 20 20 20 20 74 68 65 20 63   ┆xact color values and      the c┆
0x0ca0…0cc0 6c 6f 73 65 73 74 20 76 61 6c 75 65 73 20 70 72 6f 76 69 64 65 64 20 62 79 20 74 68 65 20 73 63   ┆losest values provided by the sc┆
0x0cc0…0ce0 72 65 65 6e 20 77 69 74 68 20 72 65 73 70 65 63 74 20 74 6f 0a 20 20 20 20 20 74 68 65 20 76 69   ┆reen with respect to      the vi┆
0x0ce0…0d00 73 75 61 6c 20 74 79 70 65 20 6f 66 20 74 68 65 20 73 70 65 63 69 66 69 65 64 20 63 6f 6c 6f 72   ┆sual type of the specified color┆
0x0d00…0d20 6d 61 70 2e 20 20 59 6f 75 20 73 68 6f 75 6c 64 20 75 73 65 0a 20 20 20 20 20 74 68 65 20 49 53   ┆map.  You should use      the IS┆
0x0d20…0d40 4f 20 4c 61 74 69 6e 2d 31 20 65 6e 63 6f 64 69 6e 67 3b 20 75 70 70 65 72 63 61 73 65 20 61 6e   ┆O Latin-1 encoding; uppercase an┆
0x0d40…0d60 64 20 6c 6f 77 65 72 63 61 73 65 20 64 6f 20 6e 6f 74 0a 20 20 20 20 20 6d 61 74 74 65 72 2e 20   ┆d lowercase do not      matter. ┆
0x0d60…0d80 20 5f 08 58 5f 08 4c 5f 08 6f 5f 08 6f 5f 08 6b 5f 08 75 5f 08 70 5f 08 43 5f 08 6f 5f 08 6c 5f   ┆ _ X_ L_ o_ o_ k_ u_ p_ C_ o_ l_┆
0x0d80…0da0 08 6f 5f 08 72 20 72 65 74 75 72 6e 73 20 6e 6f 6e 7a 65 72 6f 20 69 66 20 74 68 65 20 6e 61 6d   ┆ o_ r returns nonzero if the nam┆
0x0da0…0dc0 65 20 65 78 69 73 74 65 64 20 69 6e 0a 20 20 20 20 20 74 68 65 20 63 6f 6c 6f 72 20 64 61 74 61   ┆e existed in      the color data┆
0x0dc0…0de0 62 61 73 65 20 6f 72 20 7a 65 72 6f 20 69 66 20 69 74 20 64 69 64 20 6e 6f 74 20 65 78 69 73 74   ┆base or zero if it did not exist┆
0x0de0…0e00 2e 0a 0a 44 08 44 08 44 08 44 49 08 49 08 49 08 49 41 08 41 08 41 08 41 47 08 47 08 47 08 47 4e   ┆.  D D D DI I I IA A A AG G G GN┆
0x0e00…0e20 08 4e 08 4e 08 4e 4f 08 4f 08 4f 08 4f 53 08 53 08 53 08 53 54 08 54 08 54 08 54 49 08 49 08 49   ┆ N N NO O O OS S S ST T T TI I I┆
0x0e20…0e40 08 49 43 08 43 08 43 08 43 53 08 53 08 53 08 53 0a 20 20 20 20 20 5f 08 42 5f 08 61 5f 08 64 5f   ┆ IC C C CS S S S      _ B_ a_ d_┆
0x0e40…0e60 08 43 5f 08 6f 5f 08 6c 5f 08 6f 5f 08 72 20 20 41 20 76 61 6c 75 65 20 66 6f 72 20 61 20 43 6f   ┆ C_ o_ l_ o_ r  A value for a Co┆
0x0e60…0e80 6c 6f 72 6d 61 70 20 61 72 67 75 6d 65 6e 74 20 64 6f 65 73 20 6e 6f 74 20 6e 61 6d 65 20 61 0a   ┆lormap argument does not name a ┆
0x0e80…0ea0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 65 66 69 6e 65 64 20 43 6f 6c 6f 72 6d 61 70 2e   ┆               defined Colormap.┆
0x0ea0…0ec0 0a 0a 20 20 20 20 20 5f 08 42 5f 08 61 5f 08 64 5f 08 56 5f 08 61 5f 08 6c 5f 08 75 5f 08 65 20   ┆       _ B_ a_ d_ V_ a_ l_ u_ e ┆
0x0ec0…0ee0 20 53 6f 6d 65 20 6e 75 6d 65 72 69 63 20 76 61 6c 75 65 20 66 61 6c 6c 73 20 6f 75 74 73 69 64   ┆ Some numeric value falls outsid┆
0x0ee0…0f00 65 20 74 68 65 20 72 61 6e 67 65 20 6f 66 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61   ┆e the range of                va┆
0x0f00…0f20 6c 75 65 73 20 61 63 63 65 70 74 65 64 20 62 79 20 74 68 65 20 72 65 71 75 65 73 74 2e 20 20 55   ┆lues accepted by the request.  U┆
0x0f20…0f40 6e 6c 65 73 73 20 61 20 73 70 65 63 69 66 69 63 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆nless a specific                ┆
0x0f40…0f60 72 61 6e 67 65 20 69 73 20 73 70 65 63 69 66 69 65 64 20 66 6f 72 20 61 6e 20 61 72 67 75 6d 65   ┆range is specified for an argume┆
0x0f60…0f80 6e 74 2c 20 74 68 65 20 66 75 6c 6c 20 72 61 6e 67 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆nt, the full range              ┆
0x0f80…0fa0 20 20 64 65 66 69 6e 65 64 20 62 79 20 74 68 65 20 61 72 67 75 6d 65 6e 74 27 73 20 74 79 70 65   ┆  defined by the argument's type┆
0x0fa0…0fc0 20 69 73 20 61 63 63 65 70 74 65 64 2e 20 20 41 6e 79 0a 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆ is accepted.  Any              ┆
0x0fc0…0fe0 20 20 61 72 67 75 6d 65 6e 74 20 64 65 66 69 6e 65 64 20 61 73 20 61 20 73 65 74 20 6f 66 20 61   ┆  argument defined as a set of a┆
0x0fe0…1000 6c 74 65 72 6e 61 74 69 76 65 73 20 63 61 6e 20 67 65 6e 2d 0a 20 20 20 20 20 20 20 20 20 20 20   ┆lternatives can gen-            ┆
0x1000…1020 20 20 20 20 65 72 61 74 65 20 74 68 69 73 20 65 72 72 6f 72 2e 0a 0a 53 08 53 08 53 08 53 45 08   ┆    erate this error.  S S S SE ┆
0x1020…1040 45 08 45 08 45 45 08 45 08 45 08 45 20 41 08 41 08 41 08 41 4c 08 4c 08 4c 08 4c 53 08 53 08 53   ┆E E EE E E E A A A AL L L LS S S┆
0x1040…1060 08 53 4f 08 4f 08 4f 08 4f 0a 20 20 20 20 20 58 41 6c 6c 6f 63 43 6f 6c 6f 72 28 33 58 31 31 29   ┆ SO O O O      XAllocColor(3X11)┆
0x1060…1080 2c 20 58 43 72 65 61 74 65 43 6f 6c 6f 72 6d 61 70 28 33 58 31 31 29 2c 20 58 53 74 6f 72 65 43   ┆, XCreateColormap(3X11), XStoreC┆
0x1080…10a0 6f 6c 6f 72 73 28 33 58 31 31 29 0a 20 20 20 20 20 5f 08 58 5f 08 6c 5f 08 69 5f 08 62 20 2d 20   ┆olors(3X11)      _ X_ l_ i_ b - ┆
0x10a0…10c0 5f 08 43 20 5f 08 4c 5f 08 61 5f 08 6e 5f 08 67 5f 08 75 5f 08 61 5f 08 67 5f 08 65 20 5f 08 58   ┆_ C _ L_ a_ n_ g_ u_ a_ g_ e _ X┆
0x10c0…10e0 20 5f 08 49 5f 08 6e 5f 08 74 5f 08 65 5f 08 72 5f 08 66 5f 08 61 5f 08 63 5f 08 65 0a 0a 41 75   ┆ _ I_ n_ t_ e_ r_ f_ a_ c_ e  Au┆
0x10e0…1100 67 75 73 74 20 31 39 39 31 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆gust 1991                       ┆
0x1100…1120 20 20 20 20 20 20 54 58 20 50 72 6f 67 72 61 6d 6d 65 72 27 73 20 52 65 66 65 72 65 6e 63 65 0a   ┆      TX Programmer's Reference ┆
0x1120…1140 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a   ┆                                ┆