XtGetDisplays(3xt) XT FUNCTIONS XtGetDisplays(3xt)NAMEXtGetDisplays - retrieve a list of displays associated with an applica‐
tion context
SYNTAX
cc [ flag... ] file... -lXt [ library... ]
void XtGetDisplays(XtAppContext app_context, Display ***dpy_return,
Cardinal* num_dpy_return);
ARGUMENTS
app_context
Specifies the application context.
dpy_return
Returns a list of open X display connections in the specified
application context.
num_dpy_return
Returns the count of open X display connections in
dpy_return.
DESCRIPTION
To free the list of displays, use XtFree.
SEE ALSO
X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
┌─────────────────────────────┬───────────────────────────────────┐
│ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
├─────────────────────────────┼───────────────────────────────────┤
│Availability │x11/library/toolkit/libxt │
├─────────────────────────────┼───────────────────────────────────┤
│Interface Stability │Committed │
├─────────────────────────────┼───────────────────────────────────┤
│MT-Level │See XtToolkitThreadInitialize(3XT) │
└─────────────────────────────┴───────────────────────────────────┘
X Version 11 libXt 1.0.8 XtGetDisplays(3xt)