LIBSYSEVENT(3LIB) Interface Libraries LIBSYSEVENT(3LIB)

libsysevent - system event interface library

cc [ flag... ] file... -lsysevent [ library... ]
#include <libsysevent.h>

Functions in this library extract specific identifier, publisher, and attribute information from a system event (sysevent) handle, defined as sysevent_t, and allow privileged user-level applications to queue system events for delivery to the system event daemon, syseventd(8).

The libsysevent interfaces do not work at all in non-global zones.

For a list of events, please see sysevents(3SYSEVENT). The actual events and their payload, unlike the library interfaces, are considered private to the system and subject to change at any time.

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

sysevent_bind_handle sysevent_free
sysevent_get_attr_list sysevent_get_class_name
sysevent_get_pid sysevent_get_pub_name
sysevent_get_seq sysevent_get_size
sysevent_get_subclass_name sysevent_get_time
sysevent_get_vendor_name sysevent_post_event
sysevent_subscribe_event sysevent_unbind_handle
sysevent_unsubscribe_event

/usr/lib/libsysevent.so.1

shared object

/usr/lib/64/libsysevent.so.1

64-bit shared object

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

ATTRIBUTE TYPE ATTRIBUTE VALUE
Interface Stability Committed
MT-Level MT-Safe

Intro(3), attributes(7), syseventd(8)

July 15, 2019 OmniOS