cc [flag...] file... -lX11 -lXtsol [library...]
#include <X11/extensions/Xtsol.h> Status XTSOLgetClientAttributes(display, windowid, clientattr); Display *display; XID windowid; XTsolClientAttributes *clientattrp;
Specifies a pointer to the Display structure. Is returned from XOpenDisplay().
Specifies window ID of X client.
Client must provide a pointer to an XTsolClientAttributes structure.
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.
Lack of privilege.
Not a valid client.
See attributes(5) for descriptions of the following attributes:
The functionality described on this manual page is available only if the system is configured with Trusted Extensions.