1XTSOLgetPropUID(T3rXuTsStOeLd)Extensions to X Windows Library FXuTnScOtLigoentsPropUID(3XTSOL)
2
3
4

NAME

6       XTSOLgetPropUID  -  get the UID associated with a property hanging on a
7       window
8

SYNOPSIS

10       cc [flag...] file... -lX11 -lXtsol [library...]
11       #include <X11/extensions/Xtsol.h>
12
13       Status XTSOLgetPropUID (display, window, property, uidp);
14
15       Display *display;
16       Window window;
17       Atom property;
18       uid_t *uidp;
19
20

PARAMETERS

22       display     Specifies a pointer to the Display structure; returned from
23                   XOpenDisplay().
24
25
26       window      Specifies  the  ID  of  the window whose property's UID you
27                   want to get.
28
29
30       property    Specifies the property atom.
31
32
33       uidp        Returns a UID which is the current  UID  of  the  specified
34                   property.  Client needs to provide a uid_t type storage and
35                   passes the address of this storage as  the  function  argu‐
36                   ment. Client must provide a pointer to uid_t.
37
38

DESCRIPTION

40       The  client requires the PRIV_WIN_DAC_READ and PRIV_WIN_MAC_READ privi‐
41       leges. The XTSOLgetPropUID() function retrieves the ownership of a win‐
42       dow's  property. This allows a client to get the ownership of an object
43       it did not create.
44

RETURN VALUES

46       None.
47

ERRORS

49       BadAccess    Lack of privilege.
50
51
52       BadWindow    Not a valid window.
53
54
55       BadAtom      Not a valid atom.
56
57

ATTRIBUTES

59       See attributes(5) for descriptions of the following attributes:
60
61
62
63
64       ┌───────────────────────────┬───────────────────────────────┐
65       │      ATTRIBUTE TYPE       │        ATTRIBUTE VALUE        │
66       ├───────────────────────────┼───────────────────────────────┤
67       │Interface Stability        │ Committed                     │
68       ├───────────────────────────┼───────────────────────────────┤
69       │MT-Level                   │ Unsafe                        │
70       └───────────────────────────┴───────────────────────────────┘
71

SEE ALSO

73       libXtsol(3LIB),        XTSOLgetPropAttributes(3XTSOL),        XTSOLset‐
74       PropUID(3XTSOL), attributes(5)
75
76
77       Setting  Window Polyinstantiation Information in Solaris Trusted Exten‐
78       sions Developer's Guide
79

NOTES

81       The functionality described on this manual page is  available  only  if
82       the system is configured with Trusted Extensions.
83
84
85
86SunOS 5.11                        20 Jul 2007          XTSOLgetPropUID(3XTSOL)
Impressum