Name
XtCloseDisplay — close a display and remove it from an application context.
Synopsis
void XtCloseDisplay(display)
Display ∗display;
Arguments
displaySpecifies the display.
Description
XtCloseDisplay closes the specified display as soon as it is safe to do so. If called from within an event dispatch (for example, a callback procedure), XtCloseDisplay does not close the display until the dispatch is complete. Note that applications need only call XtCloseDisplay if they are to continue executing after closing the display; otherwise, they should call XtDestroyApplicationContext or just exit.
See Also
XtAppInitialize(1), XtAppCreateShell(1), XtDestroyApplicationContext(1).