1 '\" te
   2 .\" Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved.
   3 .\" 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.
   4 .\" 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.
   5 .\" 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]
   6 .TH LIBSYSEVENT 3LIB "Aug 23, 2007"
   7 .SH NAME
   8 libsysevent \- system event interface library
   9 .SH SYNOPSIS
  10 .LP
  11 .nf
  12 cc [ \fIflag\fR... ] \fIfile\fR... \fB-lsysevent\fR [ \fIlibrary\fR... ]
  13 #include <\fBsysevent.h\fR>
  14 .fi
  15 
  16 .SH DESCRIPTION
  17 .sp
  18 .LP
  19 Functions in this library extract specific identifier, publisher, and attribute
  20 information from a system event (sysevent) handle, defined as \fBsysevent_t\fR,
  21 and allow privileged user-level applications to queue system events for
  22 delivery to the system event daemon, \fBsyseventd\fR(1M).
  23 .sp
  24 .LP
  25 The \fBlibsysevent\fR interfaces do not work at all in non-global zones.
  26 .SH INTERFACES
  27 .sp
  28 .LP
  29 The shared object \fBlibsysevent.so.1\fR provides the public interfaces defined
  30 below. See \fBIntro\fR(3) for additional information on shared object
  31 interfaces.
  32 .sp
  33 
  34 .sp
  35 .TS
  36 l l
  37 l l .
  38 \fBsysevent_bind_handle\fR      \fBsysevent_free\fR
  39 \fBsysevent_get_attr_list\fR    \fBsysevent_get_class_name\fR
  40 \fBsysevent_get_pid\fR  \fBsysevent_get_pub_name\fR
  41 \fBsysevent_get_seq\fR  \fBsysevent_get_size\fR
  42 \fBsysevent_get_subclass_name\fR        \fBsysevent_get_time\fR
  43 \fBsysevent_get_vendor_name\fR  \fBsysevent_post_event\fR
  44 \fBsysevent_subscribe_event\fR  \fBsysevent_unbind_handle\fR
  45 \fBsysevent_unsubscribe_event\fR        
  46 .TE
  47 
  48 .SH FILES
  49 .sp
  50 .ne 2
  51 .na
  52 \fB\fB/usr/lib/libsysevent.so.1\fR \fR
  53 .ad
  54 .sp .6
  55 .RS 4n
  56 shared object
  57 .RE
  58 
  59 .sp
  60 .ne 2
  61 .na
  62 \fB\fB/usr/lib/64/libsysevent.so.1\fR \fR
  63 .ad
  64 .sp .6
  65 .RS 4n
  66 64-bit shared object
  67 .RE
  68 
  69 .SH ATTRIBUTES
  70 .sp
  71 .LP
  72 See \fBattributes\fR(5) for descriptions of the following attributes:
  73 .sp
  74 
  75 .sp
  76 .TS
  77 box;
  78 c | c
  79 l | l .
  80 ATTRIBUTE TYPE  ATTRIBUTE VALUE
  81 _
  82 Interface Stability     Committed
  83 _
  84 MT-Level        MT-Safe
  85 .TE
  86 
  87 .SH SEE ALSO
  88 .sp
  89 .LP
  90 \fBsyseventd\fR(1M), \fBIntro\fR(3), \fBattributes\fR(5)