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

⟦181e82df6⟧

    Length: 4586 (0x11ea)
    Names: »XFlush.3X«

Derivation

└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
    └─⟦bbf173f5c⟧ »0004« 
        └─⟦this⟧ »./usr/man/cat3/XFlush.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 20 20 20 20 20 58 46 6c 75 73 68 28 33 58 29 0a 0a 0a 0a   ┆ions              XFlush(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 46 6c 75 73 68 2c 20 58 53 79 6e 63 2c 20 58 45 76 65 6e 74 73 51 75 65 75 65 64 2c 20   ┆  XFlush, XSync, XEventsQueued, ┆
0x00a0…00c0 58 50 65 6e 64 69 6e 67 20 2d 20 68 61 6e 64 6c 65 20 6f 75 74 70 75 74 0a 20 20 20 20 20 62 75   ┆XPending - handle output      bu┆
0x00c0…00e0 66 66 65 72 20 6f 72 20 65 76 65 6e 74 20 71 75 65 75 65 0a 0a 53 08 53 08 53 08 53 59 08 59 08   ┆ffer or event queue  S S S SY Y ┆
0x00e0…0100 59 08 59 4e 08 4e 08 4e 08 4e 54 08 54 08 54 08 54 41 08 41 08 41 08 41 58 08 58 08 58 08 58 0a   ┆Y YN N N NT T T TA A A AX X X X ┆
0x0100…0120 20 20 20 20 20 58 46 6c 75 73 68 28 5f 08 64 5f 08 69 5f 08 73 5f 08 70 5f 08 6c 5f 08 61 5f 08   ┆     XFlush(_ d_ i_ s_ p_ l_ a_ ┆
0x0120…0140 79 29 0a 20 20 20 20 20 20 20 20 20 20 20 44 69 73 70 6c 61 79 20 2a 5f 08 64 5f 08 69 5f 08 73   ┆y)            Display *_ d_ i_ s┆
0x0140…0160 5f 08 70 5f 08 6c 5f 08 61 5f 08 79 3b 0a 0a 20 20 20 20 20 58 53 79 6e 63 28 5f 08 64 5f 08 69   ┆_ p_ l_ a_ y;       XSync(_ d_ i┆
0x0160…0180 5f 08 73 5f 08 70 5f 08 6c 5f 08 61 5f 08 79 2c 20 5f 08 64 5f 08 69 5f 08 73 5f 08 63 5f 08 61   ┆_ s_ p_ l_ a_ y, _ d_ i_ s_ c_ a┆
0x0180…01a0 5f 08 72 5f 08 64 29 0a 20 20 20 20 20 20 20 20 20 20 20 44 69 73 70 6c 61 79 20 2a 5f 08 64 5f   ┆_ r_ d)            Display *_ d_┆
0x01a0…01c0 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 20 20 20 20 20 42 6f   ┆ i_ s_ p_ l_ a_ y;            Bo┆
0x01c0…01e0 6f 6c 20 5f 08 64 5f 08 69 5f 08 73 5f 08 63 5f 08 61 5f 08 72 5f 08 64 3b 0a 0a 20 20 20 20 20   ┆ol _ d_ i_ s_ c_ a_ r_ d;       ┆
0x01e0…0200 69 6e 74 20 58 45 76 65 6e 74 73 51 75 65 75 65 64 28 5f 08 64 5f 08 69 5f 08 73 5f 08 70 5f 08   ┆int XEventsQueued(_ d_ i_ s_ p_ ┆
0x0200…0220 6c 5f 08 61 5f 08 79 2c 20 5f 08 6d 5f 08 6f 5f 08 64 5f 08 65 29 0a 20 20 20 20 20 20 20 20 20   ┆l_ a_ y, _ m_ o_ d_ e)          ┆
0x0220…0240 20 44 69 73 70 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   ┆ Display *_ d_ i_ s_ p_ l_ a_ y;┆
0x0240…0260 0a 20 20 20 20 20 20 20 20 20 20 69 6e 74 20 5f 08 6d 5f 08 6f 5f 08 64 5f 08 65 3b 0a 0a 20 20   ┆           int _ m_ o_ d_ e;    ┆
0x0260…0280 20 20 20 69 6e 74 20 58 50 65 6e 64 69 6e 67 28 5f 08 64 5f 08 69 5f 08 73 5f 08 70 5f 08 6c 5f   ┆   int XPending(_ d_ i_ s_ p_ l_┆
0x0280…02a0 08 61 5f 08 79 29 0a 20 20 20 20 20 20 20 20 20 20 20 44 69 73 70 6c 61 79 20 2a 5f 08 64 5f 08   ┆ a_ y)            Display *_ d_ ┆
0x02a0…02c0 69 5f 08 73 5f 08 70 5f 08 6c 5f 08 61 5f 08 79 3b 0a 0a 41 08 41 08 41 08 41 52 08 52 08 52 08   ┆i_ s_ p_ l_ a_ y;  A A A AR R R ┆
0x02c0…02e0 52 47 08 47 08 47 08 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   ┆RG G G GU U U UM M M ME E E EN N┆
0x02e0…0300 08 4e 08 4e 54 08 54 08 54 08 54 53 08 53 08 53 08 53 0a 20 20 20 20 20 5f 08 64 5f 08 69 5f 08   ┆ N NT T T TS S S S      _ d_ i_ ┆
0x0300…0320 73 5f 08 63 5f 08 61 5f 08 72 5f 08 64 20 20 20 53 70 65 63 69 66 69 65 73 20 61 20 42 6f 6f 6c   ┆s_ c_ a_ r_ d   Specifies a Bool┆
0x0320…0340 65 61 6e 20 76 61 6c 75 65 20 74 68 61 74 20 69 6e 64 69 63 61 74 65 73 20 77 68 65 74 68 65 72   ┆ean value that indicates whether┆
0x0340…0360 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 5f 08 58 5f 08 53 5f 08 79 5f 08 6e 5f 08 63 20   ┆                _ X_ S_ y_ n_ c ┆
0x0360…0380 64 69 73 63 61 72 64 73 20 61 6c 6c 20 65 76 65 6e 74 73 20 6f 6e 20 74 68 65 20 65 76 65 6e 74   ┆discards all events on the event┆
0x0380…03a0 20 71 75 65 75 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   ┆ queue.       _ d_ i_ s_ p_ l_ a┆
0x03a0…03c0 5f 08 79 20 20 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   ┆_ y   Specifies the connection t┆
0x03c0…03e0 6f 20 74 68 65 20 58 20 73 65 72 76 65 72 2e 0a 0a 20 20 20 20 20 5f 08 6d 5f 08 6f 5f 08 64 5f   ┆o the X server.       _ m_ o_ d_┆
0x03e0…0400 08 65 20 20 20 20 20 20 53 70 65 63 69 66 69 65 73 20 74 68 65 20 6d 6f 64 65 2e 20 20 59 6f 75   ┆ e      Specifies the mode.  You┆
0x0400…0420 20 63 61 6e 20 70 61 73 73 20 5f 08 51 5f 08 75 5f 08 65 5f 08 75 5f 08 65 5f 08 64 5f 08 41 5f   ┆ can pass _ Q_ u_ e_ u_ e_ d_ A_┆
0x0420…0440 08 6c 5f 08 72 5f 08 65 5f 08 61 5f 08 64 5f 08 79 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆ l_ r_ e_ a_ d_ y,              ┆
0x0440…0460 20 20 5f 08 51 5f 08 75 5f 08 65 5f 08 75 5f 08 65 5f 08 64 5f 08 41 5f 08 66 5f 08 74 5f 08 65   ┆  _ Q_ u_ e_ u_ e_ d_ A_ f_ t_ e┆
0x0460…0480 5f 08 72 5f 08 46 5f 08 6c 5f 08 75 5f 08 73 5f 08 68 2c 20 6f 72 20 5f 08 51 5f 08 75 5f 08 65   ┆_ r_ F_ l_ u_ s_ h, or _ Q_ u_ e┆
0x0480…04a0 5f 08 75 5f 08 65 5f 08 64 5f 08 41 5f 08 66 5f 08 74 5f 08 65 5f 08 72 5f 08 52 5f 08 65 5f 08   ┆_ u_ e_ d_ A_ f_ t_ e_ r_ R_ e_ ┆
0x04a0…04c0 61 5f 08 64 5f 08 69 5f 08 6e 5f 08 67 2e 0a 0a 44 08 44 08 44 08 44 45 08 45 08 45 08 45 53 08   ┆a_ d_ i_ n_ g.  D D D DE E E ES ┆
0x04c0…04e0 53 08 53 08 53 43 08 43 08 43 08 43 52 08 52 08 52 08 52 49 08 49 08 49 08 49 50 08 50 08 50 08   ┆S S SC C C CR R R RI I I IP P P ┆
0x04e0…0500 50 54 08 54 08 54 08 54 49 08 49 08 49 08 49 4f 08 4f 08 4f 08 4f 4e 08 4e 08 4e 08 4e 0a 20 20   ┆PT T T TI I I IO O O ON N N N   ┆
0x0500…0520 20 20 20 54 68 65 20 5f 08 58 5f 08 46 5f 08 6c 5f 08 75 5f 08 73 5f 08 68 20 66 75 6e 63 74 69   ┆   The _ X_ F_ l_ u_ s_ h functi┆
0x0520…0540 6f 6e 20 66 6c 75 73 68 65 73 20 74 68 65 20 6f 75 74 70 75 74 20 62 75 66 66 65 72 2e 20 20 4d   ┆on flushes the output buffer.  M┆
0x0540…0560 6f 73 74 20 63 6c 69 65 6e 74 0a 20 20 20 20 20 61 70 70 6c 69 63 61 74 69 6f 6e 73 20 6e 65 65   ┆ost client      applications nee┆
0x0560…0580 64 20 6e 6f 74 20 75 73 65 20 74 68 69 73 20 66 75 6e 63 74 69 6f 6e 20 62 65 63 61 75 73 65 20   ┆d not use this function because ┆
0x0580…05a0 74 68 65 20 6f 75 74 70 75 74 0a 20 20 20 20 20 62 75 66 66 65 72 20 69 73 20 61 75 74 6f 6d 61   ┆the output      buffer is automa┆
0x05a0…05c0 74 69 63 61 6c 6c 79 20 66 6c 75 73 68 65 64 20 61 73 20 6e 65 65 64 65 64 20 62 79 20 63 61 6c   ┆tically flushed as needed by cal┆
0x05c0…05e0 6c 73 20 74 6f 20 5f 08 58 5f 08 50 5f 08 65 5f 08 6e 5f 08 64 5f 08 2d 0a 20 20 20 20 20 5f 08   ┆ls to _ X_ P_ e_ n_ d_ -      _ ┆
0x05e0…0600 69 5f 08 6e 5f 08 67 2c 20 5f 08 58 5f 08 4e 5f 08 65 5f 08 78 5f 08 74 5f 08 45 5f 08 76 5f 08   ┆i_ n_ g, _ X_ N_ e_ x_ t_ E_ v_ ┆
0x0600…0620 65 5f 08 6e 5f 08 74 2c 20 61 6e 64 20 5f 08 58 5f 08 57 5f 08 69 5f 08 6e 5f 08 64 5f 08 6f 5f   ┆e_ n_ t, and _ X_ W_ i_ n_ d_ o_┆
0x0620…0640 08 77 5f 08 45 5f 08 76 5f 08 65 5f 08 6e 5f 08 74 2e 20 20 45 76 65 6e 74 73 20 67 65 6e 65 72   ┆ w_ E_ v_ e_ n_ t.  Events gener┆
0x0640…0660 61 74 65 64 20 62 79 20 74 68 65 0a 20 20 20 20 20 73 65 72 76 65 72 20 6d 61 79 20 62 65 20 65   ┆ated by the      server may be e┆
0x0660…0680 6e 71 75 65 75 65 64 20 69 6e 74 6f 20 74 68 65 20 6c 69 62 72 61 72 79 27 73 20 65 76 65 6e 74   ┆nqueued into the library's event┆
0x0680…06a0 20 71 75 65 75 65 2e 0a 0a 20 20 20 20 20 54 68 65 20 5f 08 58 5f 08 53 5f 08 79 5f 08 6e 5f 08   ┆ queue.       The _ X_ S_ y_ n_ ┆
0x06a0…06c0 63 20 66 75 6e 63 74 69 6f 6e 20 66 6c 75 73 68 65 73 20 74 68 65 20 6f 75 74 70 75 74 20 62 75   ┆c function flushes the output bu┆
0x06c0…06e0 66 66 65 72 20 61 6e 64 20 74 68 65 6e 20 77 61 69 74 73 0a 20 20 20 20 20 75 6e 74 69 6c 20 61   ┆ffer and then waits      until a┆
0x06e0…0700 6c 6c 20 72 65 71 75 65 73 74 73 20 68 61 76 65 20 62 65 65 6e 20 72 65 63 65 69 76 65 64 20 61   ┆ll requests have been received a┆
0x0700…0720 6e 64 20 70 72 6f 63 65 73 73 65 64 20 62 79 20 74 68 65 20 58 0a 20 20 20 20 20 73 65 72 76 65   ┆nd processed by the X      serve┆
0x0720…0740 72 2e 20 20 41 6e 79 20 65 72 72 6f 72 73 20 67 65 6e 65 72 61 74 65 64 20 6d 75 73 74 20 62 65   ┆r.  Any errors generated must be┆
0x0740…0760 20 68 61 6e 64 6c 65 64 20 62 79 20 74 68 65 20 65 72 72 6f 72 0a 20 20 20 20 20 68 61 6e 64 6c   ┆ handled by the error      handl┆
0x0760…0780 65 72 2e 20 20 46 6f 72 20 65 61 63 68 20 65 72 72 6f 72 20 65 76 65 6e 74 20 72 65 63 65 69 76   ┆er.  For each error event receiv┆
0x0780…07a0 65 64 20 62 79 20 58 6c 69 62 2c 20 5f 08 58 5f 08 53 5f 08 79 5f 08 6e 5f 08 63 20 63 61 6c 6c   ┆ed by Xlib, _ X_ S_ y_ n_ c call┆
0x07a0…07c0 73 0a 20 20 20 20 20 74 68 65 20 63 6c 69 65 6e 74 20 61 70 70 6c 69 63 61 74 69 6f 6e 27 73 20   ┆s      the client application's ┆
0x07c0…07e0 65 72 72 6f 72 20 68 61 6e 64 6c 69 6e 67 20 72 6f 75 74 69 6e 65 20 28 73 65 65 20 73 65 63 74   ┆error handling routine (see sect┆
0x07e0…0800 69 6f 6e 0a 20 20 20 20 20 38 2e 31 32 2e 32 29 2e 20 20 41 6e 79 20 65 76 65 6e 74 73 20 67 65   ┆ion      8.12.2).  Any events ge┆
0x0800…0820 6e 65 72 61 74 65 64 20 62 79 20 74 68 65 20 73 65 72 76 65 72 20 61 72 65 20 65 6e 71 75 65 75   ┆nerated by the server are enqueu┆
0x0820…0840 65 64 0a 20 20 20 20 20 69 6e 74 6f 20 74 68 65 20 6c 69 62 72 61 72 79 27 73 20 65 76 65 6e 74   ┆ed      into the library's event┆
0x0840…0860 20 71 75 65 75 65 2e 0a 0a 20 20 20 20 20 46 69 6e 61 6c 6c 79 2c 20 69 66 20 79 6f 75 20 70 61   ┆ queue.       Finally, if you pa┆
0x0860…0880 73 73 65 64 20 5f 08 46 5f 08 61 5f 08 6c 5f 08 73 5f 08 65 2c 20 5f 08 58 5f 08 53 5f 08 79 5f   ┆ssed _ F_ a_ l_ s_ e, _ X_ S_ y_┆
0x0880…08a0 08 6e 5f 08 63 20 64 6f 65 73 20 6e 6f 74 20 64 69 73 63 61 72 64 20 74 68 65 0a 20 20 20 20 20   ┆ n_ c does not discard the      ┆
0x08a0…08c0 65 76 65 6e 74 73 20 69 6e 20 74 68 65 20 71 75 65 75 65 2e 20 20 49 66 20 79 6f 75 20 70 61 73   ┆events in the queue.  If you pas┆
0x08c0…08e0 73 65 64 20 5f 08 54 5f 08 72 5f 08 75 5f 08 65 2c 20 5f 08 58 5f 08 53 5f 08 79 5f 08 6e 5f 08   ┆sed _ T_ r_ u_ e, _ X_ S_ y_ n_ ┆
0x08e0…0900 63 20 64 69 73 63 61 72 64 73 20 61 6c 6c 0a 20 20 20 20 20 65 76 65 6e 74 73 20 69 6e 20 74 68   ┆c discards all      events in th┆
0x0900…0920 65 20 71 75 65 75 65 2c 20 69 6e 63 6c 75 64 69 6e 67 20 74 68 6f 73 65 20 65 76 65 6e 74 73 20   ┆e queue, including those events ┆
0x0920…0940 74 68 61 74 20 77 65 72 65 20 6f 6e 20 74 68 65 0a 20 20 20 20 20 71 75 65 75 65 20 62 65 66 6f   ┆that were on the      queue befo┆
0x0940…0960 72 65 20 5f 08 58 5f 08 53 5f 08 79 5f 08 6e 5f 08 63 20 77 61 73 20 63 61 6c 6c 65 64 2e 20 20   ┆re _ X_ S_ y_ n_ c was called.  ┆
0x0960…0980 43 6c 69 65 6e 74 20 61 70 70 6c 69 63 61 74 69 6f 6e 73 20 73 65 6c 64 6f 6d 0a 20 20 20 20 20   ┆Client applications seldom      ┆
0x0980…09a0 6e 65 65 64 20 74 6f 20 63 61 6c 6c 20 5f 08 58 5f 08 53 5f 08 79 5f 08 6e 5f 08 63 2e 0a 0a 20   ┆need to call _ X_ S_ y_ n_ c.   ┆
0x09a0…09c0 20 20 20 20 49 66 20 6d 6f 64 65 20 69 73 20 5f 08 51 5f 08 75 5f 08 65 5f 08 75 5f 08 65 5f 08   ┆    If mode is _ Q_ u_ e_ u_ e_ ┆
0x09c0…09e0 64 5f 08 41 5f 08 6c 5f 08 72 5f 08 65 5f 08 61 5f 08 64 5f 08 79 2c 20 5f 08 58 5f 08 45 5f 08   ┆d_ A_ l_ r_ e_ a_ d_ y, _ X_ E_ ┆
0x09e0…0a00 76 5f 08 65 5f 08 6e 5f 08 74 5f 08 73 5f 08 51 5f 08 75 5f 08 65 5f 08 75 5f 08 65 5f 08 64 20   ┆v_ e_ n_ t_ s_ Q_ u_ e_ u_ e_ d ┆
0x0a00…0a20 72 65 74 75 72 6e 73 20 74 68 65 20 6e 75 6d 62 65 72 0a 20 20 20 20 20 6f 66 20 65 76 65 6e 74   ┆returns the number      of event┆
0x0a20…0a40 73 20 61 6c 72 65 61 64 79 20 69 6e 20 74 68 65 20 65 76 65 6e 74 20 71 75 65 75 65 20 28 61 6e   ┆s already in the event queue (an┆
0x0a40…0a60 64 20 6e 65 76 65 72 20 70 65 72 66 6f 72 6d 73 20 61 0a 20 20 20 20 20 73 79 73 74 65 6d 20 63   ┆d never performs a      system c┆
0x0a60…0a80 61 6c 6c 29 2e 20 20 49 66 20 6d 6f 64 65 20 69 73 20 5f 08 51 5f 08 75 5f 08 65 5f 08 75 5f 08   ┆all).  If mode is _ Q_ u_ e_ u_ ┆
0x0a80…0aa0 65 5f 08 64 5f 08 41 5f 08 66 5f 08 74 5f 08 65 5f 08 72 5f 08 46 5f 08 6c 5f 08 75 5f 08 73 5f   ┆e_ d_ A_ f_ t_ e_ r_ F_ l_ u_ s_┆
0x0aa0…0ac0 08 68 2c 20 5f 08 58 5f 08 45 5f 08 76 5f 08 65 5f 08 6e 5f 08 74 5f 08 73 5f 08 51 5f 08 75 5f   ┆ h, _ X_ E_ v_ e_ n_ t_ s_ Q_ u_┆
0x0ac0…0ae0 08 65 5f 08 75 5f 08 65 5f 08 64 0a 20 20 20 20 20 72 65 74 75 72 6e 73 20 74 68 65 20 6e 75 6d   ┆ e_ u_ e_ d      returns the num┆
0x0ae0…0b00 62 65 72 20 6f 66 20 65 76 65 6e 74 73 20 61 6c 72 65 61 64 79 20 69 6e 20 74 68 65 20 71 75 65   ┆ber of events already in the que┆
0x0b00…0b20 75 65 20 69 66 20 74 68 65 0a 20 20 20 20 20 6e 75 6d 62 65 72 20 69 73 20 6e 6f 6e 7a 65 72 6f   ┆ue if the      number is nonzero┆
0x0b20…0b40 2e 20 20 49 66 20 74 68 65 72 65 20 61 72 65 20 6e 6f 20 65 76 65 6e 74 73 20 69 6e 20 74 68 65   ┆.  If there are no events in the┆
0x0b40…0b60 20 71 75 65 75 65 2c 0a 20 20 20 20 20 5f 08 58 5f 08 45 5f 08 76 5f 08 65 5f 08 6e 5f 08 74 5f   ┆ queue,      _ X_ E_ v_ e_ n_ t_┆
0x0b60…0b80 08 73 5f 08 51 5f 08 75 5f 08 65 5f 08 75 5f 08 65 5f 08 64 20 66 6c 75 73 68 65 73 20 74 68 65   ┆ s_ Q_ u_ e_ u_ e_ d flushes the┆
0x0b80…0ba0 20 6f 75 74 70 75 74 20 62 75 66 66 65 72 2c 20 61 74 74 65 6d 70 74 73 20 74 6f 20 72 65 61 64   ┆ output buffer, attempts to read┆
0x0ba0…0bc0 0a 20 20 20 20 20 6d 6f 72 65 20 65 76 65 6e 74 73 20 6f 75 74 20 6f 66 20 74 68 65 20 61 70 70   ┆      more events out of the app┆
0x0bc0…0be0 6c 69 63 61 74 69 6f 6e 27 73 20 63 6f 6e 6e 65 63 74 69 6f 6e 2c 20 61 6e 64 20 72 65 74 75 72   ┆lication's connection, and retur┆
0x0be0…0c00 6e 73 0a 20 20 20 20 20 74 68 65 20 6e 75 6d 62 65 72 20 72 65 61 64 2e 20 20 49 66 20 6d 6f 64   ┆ns      the number read.  If mod┆
0x0c00…0c20 65 20 69 73 20 5f 08 51 5f 08 75 5f 08 65 5f 08 75 5f 08 65 5f 08 64 5f 08 41 5f 08 66 5f 08 74   ┆e is _ Q_ u_ e_ u_ e_ d_ A_ f_ t┆
0x0c20…0c40 5f 08 65 5f 08 72 5f 08 52 5f 08 65 5f 08 61 5f 08 64 5f 08 69 5f 08 6e 5f 08 67 2c 0a 20 20 20   ┆_ e_ r_ R_ e_ a_ d_ i_ n_ g,    ┆
0x0c40…0c60 20 20 5f 08 58 5f 08 45 5f 08 76 5f 08 65 5f 08 6e 5f 08 74 5f 08 73 5f 08 51 5f 08 75 5f 08 65   ┆  _ X_ E_ v_ e_ n_ t_ s_ Q_ u_ e┆
0x0c60…0c80 5f 08 75 5f 08 65 5f 08 64 20 72 65 74 75 72 6e 73 20 74 68 65 20 6e 75 6d 62 65 72 20 6f 66 20   ┆_ u_ e_ d returns the number of ┆
0x0c80…0ca0 65 76 65 6e 74 73 20 61 6c 72 65 61 64 79 20 69 6e 20 74 68 65 0a 20 20 20 20 20 71 75 65 75 65   ┆events already in the      queue┆
0x0ca0…0cc0 20 69 66 20 74 68 65 20 6e 75 6d 62 65 72 20 69 73 20 6e 6f 6e 7a 65 72 6f 2e 20 49 66 20 74 68   ┆ if the number is nonzero. If th┆
0x0cc0…0ce0 65 72 65 20 61 72 65 20 6e 6f 20 65 76 65 6e 74 73 20 69 6e 0a 0a 0a 0a 0a 0a 0a 20 20 20 20 20   ┆ere are no events in            ┆
0x0ce0…0d00 74 68 65 20 71 75 65 75 65 2c 20 5f 08 58 5f 08 45 5f 08 76 5f 08 65 5f 08 6e 5f 08 74 5f 08 73   ┆the queue, _ X_ E_ v_ e_ n_ t_ s┆
0x0d00…0d20 5f 08 51 5f 08 75 5f 08 65 5f 08 75 5f 08 65 5f 08 64 20 61 74 74 65 6d 70 74 73 20 74 6f 20 72   ┆_ Q_ u_ e_ u_ e_ d attempts to r┆
0x0d20…0d40 65 61 64 20 6d 6f 72 65 20 65 76 65 6e 74 73 20 6f 75 74 20 6f 66 0a 20 20 20 20 20 74 68 65 20   ┆ead more events out of      the ┆
0x0d40…0d60 61 70 70 6c 69 63 61 74 69 6f 6e 27 73 20 63 6f 6e 6e 65 63 74 69 6f 6e 20 77 69 74 68 6f 75 74   ┆application's connection without┆
0x0d60…0d80 20 66 6c 75 73 68 69 6e 67 20 74 68 65 20 6f 75 74 70 75 74 0a 20 20 20 20 20 62 75 66 66 65 72   ┆ flushing the output      buffer┆
0x0d80…0da0 20 61 6e 64 20 72 65 74 75 72 6e 73 20 74 68 65 20 6e 75 6d 62 65 72 20 72 65 61 64 2e 0a 0a 20   ┆ and returns the number read.   ┆
0x0da0…0dc0 20 20 20 20 5f 08 58 5f 08 45 5f 08 76 5f 08 65 5f 08 6e 5f 08 74 5f 08 73 5f 08 51 5f 08 75 5f   ┆    _ X_ E_ v_ e_ n_ t_ s_ Q_ u_┆
0x0dc0…0de0 08 65 5f 08 75 5f 08 65 5f 08 64 20 61 6c 77 61 79 73 20 72 65 74 75 72 6e 73 20 69 6d 6d 65 64   ┆ e_ u_ e_ d always returns immed┆
0x0de0…0e00 69 61 74 65 6c 79 20 77 69 74 68 6f 75 74 20 49 2f 4f 20 69 66 0a 20 20 20 20 20 74 68 65 72 65   ┆iately without I/O if      there┆
0x0e00…0e20 20 61 72 65 20 65 76 65 6e 74 73 20 61 6c 72 65 61 64 79 20 69 6e 20 74 68 65 20 71 75 65 75 65   ┆ are events already in the queue┆
0x0e20…0e40 2e 20 20 5f 08 58 5f 08 45 5f 08 76 5f 08 65 5f 08 6e 5f 08 74 5f 08 73 5f 08 51 5f 08 75 5f 08   ┆.  _ X_ E_ v_ e_ n_ t_ s_ Q_ u_ ┆
0x0e40…0e60 65 5f 08 75 5f 08 65 5f 08 64 20 77 69 74 68 0a 20 20 20 20 20 6d 6f 64 65 20 5f 08 51 5f 08 75   ┆e_ u_ e_ d with      mode _ Q_ u┆
0x0e60…0e80 5f 08 65 5f 08 75 5f 08 65 5f 08 64 5f 08 41 5f 08 66 5f 08 74 5f 08 65 5f 08 72 5f 08 46 5f 08   ┆_ e_ u_ e_ d_ A_ f_ t_ e_ r_ F_ ┆
0x0e80…0ea0 6c 5f 08 75 5f 08 73 5f 08 68 20 69 73 20 69 64 65 6e 74 69 63 61 6c 20 69 6e 20 62 65 68 61 76   ┆l_ u_ s_ h is identical in behav┆
0x0ea0…0ec0 69 6f 72 20 74 6f 20 5f 08 58 5f 08 50 5f 08 65 5f 08 6e 5f 08 64 5f 08 69 5f 08 6e 5f 08 67 2e   ┆ior to _ X_ P_ e_ n_ d_ i_ n_ g.┆
0x0ec0…0ee0 0a 20 20 20 20 20 5f 08 58 5f 08 45 5f 08 76 5f 08 65 5f 08 6e 5f 08 74 5f 08 73 5f 08 51 5f 08   ┆      _ X_ E_ v_ e_ n_ t_ s_ Q_ ┆
0x0ee0…0f00 75 5f 08 65 5f 08 75 5f 08 65 5f 08 64 20 77 69 74 68 20 6d 6f 64 65 20 5f 08 51 5f 08 75 5f 08   ┆u_ e_ u_ e_ d with mode _ Q_ u_ ┆
0x0f00…0f20 65 5f 08 75 5f 08 65 5f 08 64 5f 08 41 5f 08 6c 5f 08 72 5f 08 65 5f 08 61 5f 08 64 5f 08 79 20   ┆e_ u_ e_ d_ A_ l_ r_ e_ a_ d_ y ┆
0x0f20…0f40 69 73 20 69 64 65 6e 74 69 63 61 6c 20 74 6f 20 74 68 65 0a 20 20 20 20 20 5f 08 58 5f 08 51 5f   ┆is identical to the      _ X_ Q_┆
0x0f40…0f60 08 4c 5f 08 65 5f 08 6e 5f 08 67 5f 08 74 5f 08 68 20 66 75 6e 63 74 69 6f 6e 2e 0a 0a 20 20 20   ┆ L_ e_ n_ g_ t_ h function.     ┆
0x0f60…0f80 20 20 54 68 65 20 5f 08 58 5f 08 50 5f 08 65 5f 08 6e 5f 08 64 5f 08 69 5f 08 6e 5f 08 67 20 66   ┆  The _ X_ P_ e_ n_ d_ i_ n_ g f┆
0x0f80…0fa0 75 6e 63 74 69 6f 6e 20 72 65 74 75 72 6e 73 20 74 68 65 20 6e 75 6d 62 65 72 20 6f 66 20 65 76   ┆unction returns the number of ev┆
0x0fa0…0fc0 65 6e 74 73 20 74 68 61 74 20 68 61 76 65 0a 20 20 20 20 20 62 65 65 6e 20 72 65 63 65 69 76 65   ┆ents that have      been receive┆
0x0fc0…0fe0 64 20 66 72 6f 6d 20 74 68 65 20 58 20 73 65 72 76 65 72 20 62 75 74 20 68 61 76 65 20 6e 6f 74   ┆d from the X server but have not┆
0x0fe0…1000 20 62 65 65 6e 20 72 65 6d 6f 76 65 64 0a 20 20 20 20 20 66 72 6f 6d 20 74 68 65 20 65 76 65 6e   ┆ been removed      from the even┆
0x1000…1020 74 20 71 75 65 75 65 2e 20 20 5f 08 58 5f 08 50 5f 08 65 5f 08 6e 5f 08 64 5f 08 69 5f 08 6e 5f   ┆t queue.  _ X_ P_ e_ n_ d_ i_ n_┆
0x1020…1040 08 67 20 69 73 20 69 64 65 6e 74 69 63 61 6c 20 74 6f 0a 20 20 20 20 20 5f 08 58 5f 08 45 5f 08   ┆ g is identical to      _ X_ E_ ┆
0x1040…1060 76 5f 08 65 5f 08 6e 5f 08 74 5f 08 73 5f 08 51 5f 08 75 5f 08 65 5f 08 75 5f 08 65 5f 08 64 20   ┆v_ e_ n_ t_ s_ Q_ u_ e_ u_ e_ d ┆
0x1060…1080 77 69 74 68 20 74 68 65 20 6d 6f 64 65 20 5f 08 51 5f 08 75 5f 08 65 5f 08 75 5f 08 65 5f 08 64   ┆with the mode _ Q_ u_ e_ u_ e_ d┆
0x1080…10a0 5f 08 41 5f 08 66 5f 08 74 5f 08 65 5f 08 72 5f 08 46 5f 08 6c 5f 08 75 5f 08 73 5f 08 68 20 73   ┆_ A_ f_ t_ e_ r_ F_ l_ u_ s_ h s┆
0x10a0…10c0 70 65 63 69 66 69 65 64 2e 0a 0a 53 08 53 08 53 08 53 45 08 45 08 45 08 45 45 08 45 08 45 08 45   ┆pecified.  S S S SE E E EE E E E┆
0x10c0…10e0 20 41 08 41 08 41 08 41 4c 08 4c 08 4c 08 4c 53 08 53 08 53 08 53 4f 08 4f 08 4f 08 4f 0a 20 20   ┆ A A A AL L L LS S S SO O O O   ┆
0x10e0…1100 20 20 20 41 6c 6c 50 6c 61 6e 65 73 28 33 58 31 31 29 2c 20 58 49 66 45 76 65 6e 74 28 33 58 31   ┆   AllPlanes(3X11), XIfEvent(3X1┆
0x1100…1120 31 29 2c 20 58 4e 65 78 74 45 76 65 6e 74 28 33 58 31 31 29 2c 0a 20 20 20 20 20 58 50 75 74 42   ┆1), XNextEvent(3X11),      XPutB┆
0x1120…1140 61 63 6b 45 76 65 6e 74 28 33 58 31 31 29 0a 20 20 20 20 20 5f 08 58 5f 08 6c 5f 08 69 5f 08 62   ┆ackEvent(3X11)      _ X_ l_ i_ b┆
0x1140…1160 20 2d 20 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   ┆ - _ C _ L_ a_ n_ g_ u_ a_ g_ e ┆
0x1160…1180 5f 08 58 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   ┆_ X _ I_ n_ t_ e_ r_ f_ a_ c_ e ┆
0x1180…11a0 0a 41 75 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   ┆ August 1991                    ┆
0x11a0…11c0 20 20 20 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   ┆         TX Programmer's Referen┆
0x11c0…11e0 63 65 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   ┆ce                              ┆
0x11e0…11ea 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a                                                                     ┆          ┆