Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: Thursday, June 13, 2019
 
 

libcontract(3LIB)

Name

libcontract - contract management library

Synopsis

cc [ flag... ] `getconf LFS_CFLAGS` file... –lcontract [ library... ]
#include <libcontract.h>

Description

Functions in this library provide various interfaces to interact with the contract(5) file system. The header provides structure and function declarations for all library interfaces.

INTERFACES

The shared object libcontract.so.1 provides the public interfaces defined below. See intro(3) for additional information on shared object interfaces.

contract_latest
contract_open
contract_abandon_id
ct_ctl_abandon
ct_ctl_ack
ct_ctl_adopt
ct_ctl_nack
ct_ctl_newct
ct_ctl_qack
ct_dev_status_get_aset
ct_dev_status_get_dev_state
ct_dev_status_get_minor
ct_dev_status_get_noneg
ct_dev_tmpl_clear_noneg
ct_dev_tmpl_get_aset
ct_dev_tmpl_get_minor
ct_dev_tmpl_get_noneg
ct_dev_tmpl_set_aset
ct_dev_tmpl_set_minor
ct_dev_tmpl_set_noneg
ct_event_free
ct_event_get_ctid
ct_event_get_evid
ct_event_get_flagsr
ct_event_get_nevid
ct_event_get_newct
ct_event_get_type
ct_event_read
ct_event_read_critical
ct_event_reliable
ct_event_reset
ct_pr_event_get_exitstatus
ct_pr_event_get_gcorefile
ct_pr_event_get_pcorefile
ct_pr_event_get_pid
ct_pr_event_get_ppid
ct_pr_event_get_sender
ct_pr_event_get_senderct
ct_pr_event_get_signal
ct_pr_event_get_zcorefile
ct_pr_status_get_contracts
ct_pr_status_get_fatal
ct_pr_status_get_members
ct_pr_status_get_param
ct_pr_status_get_aux
ct_pr_status_get_creator
ct_pr_status_get_ctid
ct_pr_status_get_fmri
ct_pr_tmpl_get_fatal
ct_pr_tmpl_get_param
ct_pr_tmpl_get_transfer
ct_pr_tmpl_set_fatal
ct_pr_tmpl_set_param
ct_pr_tmpl_set_transfer
ct_status_free
ct_status_get_cookie
ct_status_get_critical
ct_status_get_holder
ct_status_get_id
ct_status_get_informative
ct_status_get_nevents
ct_status_get_nevid
ct_status_get_ntime
ct_status_get_qtime
ct_status_get_state
ct_status_get_type
ct_status_get_zoneid
ct_status_read
ct_tmpl_activate
ct_tmpl_clear
ct_tmpl_create
ct_tmpl_get_cookie
ct_tmpl_get_critical
ct_tmpl_get_informative
ct_tmpl_get_svc_aux
ct_tmpl_get_svc_fmri
ct_tmpl_set_cookie
ct_tmpl_set_cookie
ct_tmpl_set_informative
getctid

Files

/usr/lib/libcontract.so.1

shared object

/usr/lib/64/libcontract.so.1

64–bit shared object

Attributes

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

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/library
Interface Stability
Committed
MT-Level
Safe

See Also

pvs(1), intro(3), contract(5), attributes(7), lfcompile(7)