1libcontract(3LIB) Interface Libraries libcontract(3LIB)
2
3
4
6 libcontract - contract management library
7
9 cc [ flag... ] `getconf LFS_CFLAGS` file... -lcontract [ library... ]
10 #include <libcontract.h>
11
12
14 Functions in this library provide various interfaces to interact with
15 the contract(4) file system. The header provides structure and function
16 declarations for all library interfaces.
17
19 The shared object libcontract.so.1 provides the public interfaces
20 defined below. See Intro(3) for additional information on shared object
21 interfaces.
22
23
24
25
26 ct_ctl_abandon ct_ctl_ack
27 ct_ctl_adopt ct_ctl_nack
28 ct_ctl_newct ct_ctl_qack
29 ct_dev_status_get_aset ct_dev_status_get_dev_state
30 ct_dev_status_get_minor ct_dev_status_get_noneg
31 ct_dev_tmpl_clear_noneg ct_dev_tmpl_get_aset
32 ct_dev_tmpl_get_minor ct_dev_tmpl_get_noneg
33 ct_dev_tmpl_set_aset ct_dev_tmpl_set_minor
34 ct_dev_tmpl_set_noneg ct_event_free
35 ct_event_get_ctid ct_event_get_evid
36 ct_event_get_flags ct_event_get_nevid
37 ct_event_get_newct ct_event_get_type
38 ct_event_read ct_event_read_critical
39 ct_event_reliable ct_event_reset
40 ct_pr_event_get_exitstatus ct_pr_event_get_gcorefile
41 ct_pr_event_get_pcorefile ct_pr_event_get_pid
42 ct_pr_event_get_ppid ct_pr_event_get_sender
43 ct_pr_event_get_senderct ct_pr_event_get_signal
44 ct_pr_event_get_zcorefile ct_pr_status_get_contracts
45 ct_pr_status_get_fatal ct_pr_status_get_members
46 ct_pr_status_get_param ct_pr_status_get_aux
47 ct_pr_status_get_creator ct_pr_status_get_ctid
48 ct_pr_status_get_fmri ct_pr_tmpl_get_fatal
49 ct_pr_tmpl_get_param ct_pr_tmpl_get_transfer
50 ct_pr_tmpl_set_fatal ct_pr_tmpl_set_param
51 ct_pr_tmpl_set_transfer ct_status_free
52 ct_status_get_cookie ct_status_get_critical
53 ct_status_get_holder ct_status_get_id
54 ct_status_get_informative ct_status_get_nevents
55 ct_status_get_nevid ct_status_get_ntime
56 ct_status_get_qtime ct_status_get_state
57 ct_status_get_type ct_status_get_zoneid
58 ct_status_read ct_tmpl_activate
59 ct_tmpl_clear ct_tmpl_create
60 ct_tmpl_get_cookie ct_tmpl_get_critical
61 ct_tmpl_get_informative ct_tmpl_get_svc_aux
62 ct_tmpl_get_svc_fmri ct_tmpl_set_cookie
63 ct_tmpl_set_critical ct_tmpl_set_informative
64 ct_tmpl_set_svc_aux ct_tmpl_set_svc_fmri
65
66
68 /usr/lib/libcontract.so.1
69
70 shared object
71
72
73 /usr/lib/64/libcontract.so.1
74
75 64-bit shared object
76
77
79 See attributes(5) for descriptions of the following attributes:
80
81
82
83
84 ┌─────────────────────────────┬─────────────────────────────┐
85 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
86 ├─────────────────────────────┼─────────────────────────────┤
87 │Availability │SUNWcsl │
88 ├─────────────────────────────┼─────────────────────────────┤
89 │Interface Stability │Committed │
90 ├─────────────────────────────┼─────────────────────────────┤
91 │MT-Level │Safe │
92 └─────────────────────────────┴─────────────────────────────┘
93
95 pvs(1), Intro(3), contract(4), attributes(5), lfcompile(5)
96
97
98
99SunOS 5.11 25 Feb 2008 libcontract(3LIB)