XNoOp(3) Library Functions Manual XNoOp(3)

XNoOp - No Operation

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

X Version 11 XLIB FUNCTIONS