xref: /titanic_51/usr/src/man/man3lib/libsysevent.3lib (revision 96aa4f28c45f26c5cb5f5eb8bf23cb7fc6991d8f)
te
Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved.
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
LIBSYSEVENT 3LIB "Aug 23, 2007"
NAME
libsysevent - system event interface library
SYNOPSIS

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

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(1M).

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

INTERFACES

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
FILES
/usr/lib/libsysevent.so.1

shared object

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

64-bit shared object

ATTRIBUTES

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

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

syseventd(1M), Intro(3), attributes(5)