Ubuntu Manpages

int XNoOp(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