Xlib provides a C API for the X Window System protocol, along with numerous utility functions.
Current versions of Xlib provide a compatibility wrapper around the X C Binding (XCB) library. For new projects, particularly toolkits, see the XCB library for the designated replacement.
These details are provided for information only. No information here is legal advice and should not be used as such.