Before your program can use a display, you must establish a connection to the X server. Once you have established a connection, you then can use the Xlib macros and functions discussed in this chapter to return information about the display. This chapter discusses how to:
Obtain information about the display, image format, and screen
The chapter concludes with a general discussion of what occurs when the connection to the X server is closed.