Trusted Extensions to X Windows Library Functions
XTSOLIsWindowTrusted(3XTSOL)
NAME
XTSOLIsWindowTrusted - test if a window is created by a
trusted clientSYNOPSIS
cc [flag...] file... -lX11 -lXtsol [library...]
#include
Bool XTSOLIsWindowTrusted(display, window);
Display *display; Window window;DESCRIPTION
The XTSOLIsWindowTrusted() function tests if a window is
created by a trusted client. The window created by a trusted client has a special bit turned on. The client does not require any privilege to perform this operation.PARAMETERS
display Specifies a pointer to the Display structure; returned from XOpenDisplay(). window Specifies the ID of the window to be tested.RETURN VALUES
True If the window is created by a trusted client.ERRORS
BadWindow Not a valid window.ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:SunOS 5.11 Last change: 20 Jul 2007 1
Trusted Extensions to X Windows Library FunctionsXTSOLIsWindowTrusted(3XTSOL)
______________________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|___________________________|_______________________________|
| Interface Stability | Committed ||___________________________|_______________________________|
| MT-Level | Unsafe |
|___________________________|_______________________________|
SEE ALSO
libXtsol(3LIB), attributes(5) NOTES The functionality described on this manual page is available only if the system is configured with Trusted Extensions.SunOS 5.11 Last change: 20 Jul 2007 2
Trusted Extensions to X Windows Library FunctionsXTSOLIsWindowTrusted(3XTSOL)
SunOS 5.11 Last change: 20 Jul 2007 3