XNoOp − No Operation
int XNoOp(Display *display);
display
Specifies the connection to the X server.
The XNoOp function sends a NoOperation protocol request to the X server, thereby exercising the connection.
Xlib − C Language X Interface