xref: /illumos-gate/usr/src/man/man3picltree/picld_log.3picltree (revision 69a119caa6570c7077699161b7c28b6ee9f8b0f4)
te
Copyright (c) 2000, 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]
PICLD_LOG 3PICLTREE "Mar 28, 2000"
NAME
picld_log - log a message in system log
SYNOPSIS

cc [flag .\|.\|.] file .\|.\|. -lpicltree [library .\|.\|.]
#include <picltree.h>

void picld_log(const char *msg);
DESCRIPTION

The picld_log() function logs the message specified in msg to the system log file using syslog(3C). This function is used by the PICL daemon and the plug-in modules to log messages to inform users of any error or warning conditions.

RETURN VALUES

This function does not return a value.

ERRORS

No errors are defined.

ATTRIBUTES

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

ATTRIBUTE TYPE ATTRIBUTE VALUE
MT-Level MT-Safe
SEE ALSO

syslog(3C), attributes(5)