Merge commit 'dc97a43d4a70c8773a619f11b95b07a787f6f5b7' into merges
[unleashed.git] / share / man / man3picltree / picld_log.3picltree
blob04bd330b5582ab6394a265634b552b6059a0e8c1
1 '\" te
2 .\" Copyright (c) 2000, 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 PICLD_LOG 3PICLTREE "Mar 28, 2000"
7 .SH NAME
8 picld_log \- log a message in system log
9 .SH SYNOPSIS
10 .LP
11 .nf
12 \fBcc\fR [\fIflag \&.\|.\|.\fR] \fIfile \fR\&.\|.\|. \fB-lpicltree\fR [\fIlibrary \&.\|.\|.\fR]
13 #include <picltree.h>
15 \fBvoid\fR \fBpicld_log\fR(\fBconst char *\fR\fImsg\fR);
16 .fi
18 .SH DESCRIPTION
19 .sp
20 .LP
21 The \fBpicld_log()\fR function logs the message specified in msg to the system
22 log file using \fBsyslog\fR(3C). This function is used by the PICL daemon and
23 the plug-in modules to log messages to inform users of any error or warning
24 conditions.
25 .SH RETURN VALUES
26 .sp
27 .LP
28 This function does not return a value.
29 .SH ERRORS
30 .sp
31 .LP
32 No errors are defined.
33 .SH ATTRIBUTES
34 .sp
35 .LP
36 See \fBattributes\fR(5) for descriptions of the following attributes:
37 .sp
39 .sp
40 .TS
41 box;
42 c | c
43 l | l .
44 ATTRIBUTE TYPE  ATTRIBUTE VALUE
46 MT-Level        MT-Safe
47 .TE
49 .SH SEE ALSO
50 .sp
51 .LP
52 \fBsyslog\fR(3C), \fBattributes\fR(5)