summaryrefslogtreecommitdiff
path: root/usr/src/man/man3scf/scf_property_create.3scf
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/man/man3scf/scf_property_create.3scf')
-rw-r--r--usr/src/man/man3scf/scf_property_create.3scf47
1 files changed, 8 insertions, 39 deletions
diff --git a/usr/src/man/man3scf/scf_property_create.3scf b/usr/src/man/man3scf/scf_property_create.3scf
index f82e84a869..f6a9b7b9ef 100644
--- a/usr/src/man/man3scf/scf_property_create.3scf
+++ b/usr/src/man/man3scf/scf_property_create.3scf
@@ -3,7 +3,7 @@
.\" 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]
-.TH scf_property_create 3SCF "28 Oct 2008" "SunOS 5.11" "Service Configuration Facility Library Functions"
+.TH SCF_PROPERTY_CREATE 3SCF "Oct 28, 2008"
.SH NAME
scf_property_create, scf_property_handle, scf_property_destroy,
scf_property_get_name, scf_property_type, scf_property_is_type,
@@ -13,7 +13,7 @@ Configuration Facility
.SH SYNOPSIS
.LP
.nf
-cc [ \fIflag\fR\&.\|.\|. ] \fIfile\fR\&.\|.\|. \fB-lscf\fR [ \fIlibrary\fR\&.\|.\|. ]
+cc [ \fIflag\fR\&.\|.\|. ] \fIfile\fR\&.\|.\|. \fB-lscf\fR [ \fIlibrary\fR\&.\|.\|. ]
#include <libscf.h>
\fBscf_property_t *\fR\fBscf_property_create\fR(\fBscf_handle_t *\fR\fIhandle\fR);
@@ -145,34 +145,28 @@ Upon successful completion, \fBscf_string_to_type()\fR returns the
The \fBscf_property_create()\fR function will fail if:
.sp
.ne 2
-.mk
.na
\fB\fBSCF_ERROR_INVALID_ARGUMENT\fR\fR
.ad
.RS 30n
-.rt
The value of the \fIhandle\fR argument is \fINULL\fR.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBSCF_ERROR_NO_MEMORY\fR\fR
.ad
.RS 30n
-.rt
There is not enough memory to allocate an \fBscf_property_t\fR.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBSCF_ERROR_NO_RESOURCES\fR\fR
.ad
.RS 30n
-.rt
The server does not have adequate resources for a new property handle.
.RE
@@ -181,12 +175,10 @@ The server does not have adequate resources for a new property handle.
The \fBscf_property_handle()\fR function will fail if:
.sp
.ne 2
-.mk
.na
\fB\fBSCF_ERROR_HANDLE_DESTROYED\fR\fR
.ad
.RS 30n
-.rt
The handle associated with \fIprop\fR has been destroyed.
.RE
@@ -197,7 +189,6 @@ The \fBscf_property_get_name()\fR, \fBscf_property_type()\fR,
fail if:
.sp
.ne 2
-.mk
.na
\fB\fBSCF_ERROR_CONNECTION_BROKEN\fR\fR
.ad
@@ -208,7 +199,6 @@ The connection to the repository was lost.
.sp
.ne 2
-.mk
.na
\fB\fBSCF_ERROR_DELETED\fR\fR
.ad
@@ -219,7 +209,6 @@ The property's parent property group or an ancestor has been deleted.
.sp
.ne 2
-.mk
.na
\fB\fBSCF_ERROR_NOT_BOUND\fR\fR
.ad
@@ -230,7 +219,6 @@ The handle was never bound or has been unbound.
.sp
.ne 2
-.mk
.na
\fB\fBSCF_ERROR_NOT_SET\fR\fR
.ad
@@ -244,23 +232,19 @@ The property is not set.
The \fBscf_property_is_type()\fR function will fail if:
.sp
.ne 2
-.mk
.na
\fB\fBSCF_ERROR_INVALID_ARGUMENT\fR\fR
.ad
.RS 30n
-.rt
The \fItype\fR argument is not a valid type.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBSCF_ERROR_TYPE_MISMATCH\fR\fR
.ad
.RS 30n
-.rt
The \fIprop\fR argument is not of a type compatible with \fItype\fR.
.RE
@@ -269,7 +253,6 @@ The \fIprop\fR argument is not of a type compatible with \fItype\fR.
The \fBscf_pg_get_property()\fR function will fail if:
.sp
.ne 2
-.mk
.na
\fB\fBSCF_ERROR_BACKEND_ACCESS\fR\fR
.ad
@@ -281,7 +264,6 @@ chose for the operation denied access.
.sp
.ne 2
-.mk
.na
\fB\fBSCF_ERROR_CONNECTION_BROKEN\fR\fR
.ad
@@ -292,7 +274,6 @@ The connection to the repository was lost.
.sp
.ne 2
-.mk
.na
\fB\fBSCF_ERROR_DELETED\fR\fR
.ad
@@ -303,7 +284,6 @@ The property group or an ancestor has been deleted.
.sp
.ne 2
-.mk
.na
\fB\fBSCF_ERROR_HANDLE_MISMATCH\fR\fR
.ad
@@ -314,7 +294,6 @@ The property group and property are not derived from the same handle.
.sp
.ne 2
-.mk
.na
\fB\fBSCF_ERROR_INTERNAL\fR\fR
.ad
@@ -325,7 +304,6 @@ An internal error occurred.
.sp
.ne 2
-.mk
.na
\fB\fBSCF_ERROR_INVALID_ARGUMENT\fR\fR
.ad
@@ -336,7 +314,6 @@ The value of the \fIname\fR argument is not a valid property name.
.sp
.ne 2
-.mk
.na
\fB\fBSCF_ERROR_NO_RESOURCES\fR\fR
.ad
@@ -347,7 +324,6 @@ The server does not have the resources to complete the request.
.sp
.ne 2
-.mk
.na
\fB\fBSCF_ERROR_NOT_BOUND\fR\fR
.ad
@@ -358,7 +334,6 @@ The handle was never bound or has been unbound.
.sp
.ne 2
-.mk
.na
\fB\fBSCF_ERROR_NOT_FOUND\fR\fR
.ad
@@ -369,7 +344,6 @@ The property specified by \fIname\fR was not found.
.sp
.ne 2
-.mk
.na
\fB\fBSCF_ERROR_NOT_SET\fR\fR
.ad
@@ -383,7 +357,6 @@ The property group specified by \fIpg\fR is not set.
The \fBscf_property_get_value()\fR function will fail if:
.sp
.ne 2
-.mk
.na
\fB\fBSCF_ERROR_CONSTRAINT_VIOLATED\fR\fR
.ad
@@ -395,7 +368,6 @@ argument will be set to one of the values.
.sp
.ne 2
-.mk
.na
\fB\fBSCF_ERROR_HANDLE_MISMATCH\fR\fR
.ad
@@ -406,7 +378,6 @@ The property and value are derived from different handles.
.sp
.ne 2
-.mk
.na
\fB\fBSCF_ERROR_NOT_FOUND\fR\fR
.ad
@@ -418,7 +389,6 @@ reset.
.sp
.ne 2
-.mk
.na
\fB\fBSCF_ERROR_PERMISSION_DENIED\fR\fR
.ad
@@ -438,15 +408,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.TS
-tab() box;
-cw(2.75i) |cw(2.75i)
-lw(2.75i) |lw(2.75i)
-.
-ATTRIBUTE TYPEATTRIBUTE VALUE
+box;
+c | c
+l | l .
+ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-Interface StabilityCommitted
+Interface Stability Committed
_
-MT-LevelSafe
+MT-Level Safe
.TE
.SH SEE ALSO