man pages section 3: Extended Library Functions, Volume 4

Exit Print View

Updated: July 2014
 
 

XTSOLgetClientAttributes(3XTSOL)

Name

XTSOLgetClientAttributes - get all label attributes associated with a client

Synopsis

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

Status XTSOLgetClientAttributes(display, windowid, clientattr);

Display *display;
XID windowid;
XTsolClientAttributes *clientattrp;

Parameters

display

Specifies a pointer to the Display structure. Is returned from XOpenDisplay().

windowid

Specifies window ID of X client.

clientattrp

Client must provide a pointer to an XTsolClientAttributes structure.

Description

The XTSOLgetClientAttributes() function retrieves all label attributes that are associated with a client in a single call. The attributes include process ID, user ID, IP address, audit flags and session ID.

Return Values

None.

Errors

BadAccess

Lack of privilege.

BadValue

Not a valid client.

Attributes

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

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Interface Stability
Committed
MT-Level
Unsafe

See also

libXtsol(3LIB), XTSOLgetPropAttributes(3XTSOL), XTSOLgetResAttributes(3XTSOL), attributes (5)

Notes

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