Page:Xlib - C Language X Interface.pdf/22

 Both return the length of the event queue for the connected display. Note that there may be more events that have not been read into the queue yet (see XEventsQueued).

Both return the root window. These are useful with functions that need a drawable of a particular screen and for creating top-level windows.

Both return the number of available screens.

Both return a pointer to a null-terminated string that provides some identification of the owner of the X server implementation. If the data returned by the server is in the Latin Portable Character Encoding, then the string is in the Host Portable Character Encoding. Otherwise, the contents of the string are implementation-dependent.