Go to main content

man pages section 3: Extended Library Functions, Volume 4

Exit Print View

Updated: July 2017
 
 

XTSOLgetWorkstationOwner(3XTSOL)

Name

XTSOLgetWorkstationOwner - get the ownership of the workstation

Synopsis

cc [flag...] file... -lX11 -lXtsol [library...]
#include <X11/extensions/Xtsol.h>

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 must provide a pointer to uid_t.

Description

The XTSOLgetWorkstationOwner() function retrieves the ownership of the workstation.

Return Values

None.

Errors

BadAccess

Lack of privilege.

Attributes

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Interface Stability
Committed
MT-Level
Unsafe

See Also

libXtsol(3LIB), XTSOLsetWorkstationOwner(3XTSOL) , attributes(5)

Obtaining the X Window Server Workstation Owner ID in Trusted Extensions Developer’s Guide

Notes

The functionality described on this manual page is available only if the system is configured with Trusted Extensions.