xref: /titanic_50/usr/src/man/man3lib/libsysevent.3lib (revision 7c1d35456b77b833f089b886b99aa431a24e1377)
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 "23 Aug 2007" "SunOS 5.11" "Interface Libraries"
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_handlesysevent_free
sysevent_get_attr_listsysevent_get_class_name
sysevent_get_pidsysevent_get_pub_name
sysevent_get_seqsysevent_get_size
sysevent_get_subclass_namesysevent_get_time
sysevent_get_vendor_namesysevent_post_event
sysevent_subscribe_eventsysevent_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 TYPEATTRIBUTE VALUE
Interface StabilityCommitted
MT-LevelMT-Safe
SEE ALSO

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