|Skip Navigation Links|
|Exit Print View|
|man pages section 3: Extended Library Functions Oracle Solaris 10 1/13 Information Library|
- get all label attributes associated with a window or a pixmap
cc [flag...] file... -lX11 -lXtsol [library...] #include <X11/extensions/Xtsol.h> Status XTSOLgetResAttributes(display, object, type, winattrp); Display *display; XID object; ResourceType type; XTSOLResAttributes *winattrp;
Specifies a pointer to the Display structure; returned from XOpenDisplay().
Specifies the ID of a window system object. Possible window system objects are windows and pixmaps.
Specifies what type of resource is being accessed. Possible values are IsWindow and IsPixmap.
Client must provide a pointer to XTSOLResAttributes.
The client requires the PRIV_WIN_DAC_READ and PRIV_WIN_MAC_READ privileges. The XTSOLgetResAttributes() function retrieves all label attributes that are associated with a window or a pixmap in a single call. The attributes include UID, sensitivity label, and workstation owner.
Lack of privilege.
Not a valid window.
Not a valid pixmap.
Not a valid type.
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.