xref: /illumos-gate/usr/src/man/man3sysevent/sysevent_free.3sysevent (revision 598f4ceed9327d2d6c2325dd67cae3aa06f7fea6)
te
Copyright (c) 2009, 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]
SYSEVENT_FREE 3SYSEVENT "Jul 24, 2009"
NAME
sysevent_free - free memory for sysevent handle
SYNOPSIS

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

void sysevent_free(sysevent_t *ev);
PARAMETERS
ev

handle to event an event buffer

DESCRIPTION

The sysevent_free() function deallocates memory associated with an event buffer.

ATTRIBUTES

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

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

attributes(5)

NOTES

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