Trusted Extensions to X Windows Library Functions
XTSOLgetWorkstationOwner(3XTSOL)
NAME
XTSOLgetWorkstationOwner - get the ownership of the worksta-
tionSYNOPSIS
cc [flag...] file... -lX11 -lXtsol [library...]
#include
Status XTSOLgetWorkstationOwner(display, uidp);
Display *display;uid_t *uidp;
PARAMETERS
display Specifies a pointer to the Display structure; returned from XOpenDisplay(). uidp Returns a UID which is the current UID of the specified Display workstation server. Client mustprovide a pointer to uid_t.
DESCRIPTION
The XTSOLgetWorkstationOwner() function retrieves the owner-
ship of the workstation.RETURN VALUES
None.ERRORS
BadAccess Lack of privilege.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 FunctionsXTSOLgetWorkstationOwner(3XTSOL)
______________________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|___________________________|_______________________________|
| Interface Stability | Committed ||___________________________|_______________________________|
| MT-Level | Unsafe |
|___________________________|_______________________________|
SEE ALSO
libXtsol(3LIB), XTSOLsetWorkstationOwner(3XTSOL), attri-
butes(5) Obtaining the X Window Server Workstation Owner ID in Oracle Solaris Trusted Extensions Developer's Guide 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 FunctionsXTSOLgetWorkstationOwner(3XTSOL)
SunOS 5.11 Last change: 20 Jul 2007 3