Xlib is a C subroutine library that application programs (clients) use to interface with the X window system by means of a stream connection.