diff options
author | Yuri Pankov <yuri.pankov@nexenta.com> | 2011-10-03 04:36:40 -0700 |
---|---|---|
committer | Yuri Pankov <yuri.pankov@nexenta.com> | 2011-10-03 04:36:40 -0700 |
commit | ed22c7109fc5dd9e1b7a5d0333bdc7ad2718e2ab (patch) | |
tree | 3b2f488c4a03bda877119449bd63c01fa32aa6f2 /usr/src/man/man3scf | |
parent | af8dc4373b25cce2c0bbb80f24e791f99eccbb6f (diff) | |
download | illumos-joyent-ed22c7109fc5dd9e1b7a5d0333bdc7ad2718e2ab.tar.gz |
1502 Remove conversion cruft from manpages
Reviewed by: Alexander Eremin <alexander.eremin@nexenta.com>
Reviewed by: Gordon Ross <gordon.w.ross@gmail.com>
Reviewed by: Garrett D'Amore <garrett.damore@gmail.com>
Diffstat (limited to 'usr/src/man/man3scf')
23 files changed, 216 insertions, 775 deletions
diff --git a/usr/src/man/man3scf/scf_entry_create.3scf b/usr/src/man/man3scf/scf_entry_create.3scf index fa77fb3c20..5650d8646d 100644 --- a/usr/src/man/man3scf/scf_entry_create.3scf +++ b/usr/src/man/man3scf/scf_entry_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_entry_create 3SCF "17 Jul 2008" "SunOS 5.11" "Service Configuration Facility Library Functions" +.TH SCF_ENTRY_CREATE 3SCF "Jul 17, 2008" .SH NAME scf_entry_create, scf_entry_handle, scf_entry_destroy, scf_entry_destroy_children, scf_entry_reset, scf_entry_add_value \- create and @@ -11,7 +11,7 @@ manipulate transaction in the Service 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_transaction_entry_t *\fR\fBscf_entry_create\fR(\fBscf_handle_t *\fR\fIhandle\fR); @@ -93,23 +93,19 @@ it returns -1. The \fBscf_entry_create()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_INVALID_ARGUMENT\fR\fR .ad .RS 30n -.rt 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_transaction_entry_t\fR. .RE @@ -118,12 +114,10 @@ There is not enough memory to allocate an \fBscf_transaction_entry_t\fR. The \fBscf_entry_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 entry has been destroyed. .RE @@ -132,68 +126,56 @@ The handle associated with entry has been destroyed. The \fBscf_entry_add_value()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_HANDLE_MISMATCH\fR\fR .ad .RS 30n -.rt The \fIvalue\fR and \fIentry\fR arguments are not derived from the same handle. .RE .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_IN_USE\fR\fR .ad .RS 30n -.rt The value has been added to another entry. .RE .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_INTERNAL\fR\fR .ad .RS 30n -.rt An internal error occurred. .RE .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_INVALID_ARGUMENT\fR\fR .ad .RS 30n -.rt The \fIvalue\fR argument is not set, or the entry was added to the transaction using \fBscf_transaction_property_delete\fR(3SCF). .RE .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_SET\fR\fR .ad .RS 30n -.rt The transaction entry is not associated with a transaction. .RE .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_TYPE_MISMATCH\fR\fR .ad .RS 30n -.rt The type of the \fIvalue\fR argument does not match the type that was set using \fBscf_transaction_property_new()\fR, \fBscf_transaction_property_change()\fR, or \fBscf_transaction_property_change_type()\fR. @@ -210,15 +192,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 diff --git a/usr/src/man/man3scf/scf_error.3scf b/usr/src/man/man3scf/scf_error.3scf index 848363b04f..d7aa4eafa4 100644 --- a/usr/src/man/man3scf/scf_error.3scf +++ b/usr/src/man/man3scf/scf_error.3scf @@ -3,13 +3,13 @@ .\" 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_error 3SCF "20 Aug 2007" "SunOS 5.11" "Service Configuration Facility Library Functions" +.TH SCF_ERROR 3SCF "Aug 20, 2007" .SH NAME scf_error, scf_strerror \- error interface to Service 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_error_t\fR \fBscf_error\fR(\fBvoid\fR); @@ -37,7 +37,6 @@ error. The error values are as follows: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_BACKEND_ACCESS\fR\fR .ad @@ -49,7 +48,6 @@ for the operation denied access. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_BACKEND_READONLY\fR\fR .ad @@ -63,7 +61,6 @@ filesystem that contains it is mounted read-only. See \fBmount\fR(1M) .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_CONNECTION_BROKEN\fR\fR .ad @@ -74,7 +71,6 @@ The connection to repository is broken. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_CONSTRAINT_VIOLATED\fR\fR .ad @@ -85,7 +81,6 @@ A required constraint was not met. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_DELETED\fR\fR .ad @@ -96,7 +91,6 @@ Object was deleted. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_EXISTS\fR\fR .ad @@ -107,7 +101,6 @@ The object already exists. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_HANDLE_DESTROYED\fR\fR .ad @@ -118,7 +111,6 @@ An object was bound to a destroyed handle. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_HANDLE_MISMATCH\fR\fR .ad @@ -129,7 +121,6 @@ Objects from different SCF handles were used. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_IN_USE\fR\fR .ad @@ -140,7 +131,6 @@ The object is currently in use. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_INTERNAL\fR\fR .ad @@ -151,7 +141,6 @@ An internal error occurred. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_INVALID_ARGUMENT\fR\fR .ad @@ -162,7 +151,6 @@ An argument is invalid. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NO_MEMORY\fR\fR .ad @@ -173,7 +161,6 @@ No memory is available. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NO_RESOURCES\fR\fR .ad @@ -184,7 +171,6 @@ The repository server is out of resources. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NO_SERVER\fR\fR .ad @@ -195,7 +181,6 @@ The repository server is unavailable. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NONE\fR\fR .ad @@ -206,7 +191,6 @@ No error occurred. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_BOUND\fR\fR .ad @@ -217,7 +201,6 @@ The handle is not bound. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_FOUND\fR\fR .ad @@ -228,7 +211,6 @@ Nothing of that name was found. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_SET\fR\fR .ad @@ -239,7 +221,6 @@ Cannot use unset value. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_PERMISSION_DENIED\fR\fR .ad @@ -251,7 +232,6 @@ The user lacks sufficient authority to conduct the requested operation. See .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_TYPE_MISMATCH\fR\fR .ad @@ -262,7 +242,6 @@ The type does not match value. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_VERSION_MISMATCH\fR\fR .ad @@ -286,15 +265,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-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3scf/scf_handle_create.3scf b/usr/src/man/man3scf/scf_handle_create.3scf index 7e1831ad84..d751808b40 100644 --- a/usr/src/man/man3scf/scf_handle_create.3scf +++ b/usr/src/man/man3scf/scf_handle_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_handle_create 3SCF "17 Aug 2007" "SunOS 5.11" "Service Configuration Facility Library Functions" +.TH SCF_HANDLE_CREATE 3SCF "Aug 17, 2007" .SH NAME scf_handle_create, scf_handle_destroy, scf_handle_decorate, scf_handle_bind, scf_handle_unbind, scf_myname \- Service Configuration Facility handle @@ -11,7 +11,7 @@ functions .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_handle_t *\fR\fBscf_handle_create\fR(\fBscf_version_t\fR \fIversion\fR); @@ -60,12 +60,10 @@ invalid values will not cause errors prior to the call to \fBscf_handle_bind()\fR. The only available decorations is: .sp .ne 2 -.mk .na \fBdebug\fR .ad .RS 9n -.rt (count) Set the debugging flags. .RE @@ -109,23 +107,19 @@ it returns -1. The \fBscf_handle_create()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NO_MEMORY\fR\fR .ad .RS 30n -.rt There is no memory available. .RE .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_VERSION_MISMATCH\fR\fR .ad .RS 30n -.rt The version is invalid, or the application was compiled against a version of the library that is more recent than the one on the system. .RE @@ -135,56 +129,46 @@ the library that is more recent than the one on the system. The \fBscf_handle_decorate()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_INVALID_ARGUMENT\fR\fR .ad .RS 30n -.rt The \fIparam\fR argument is not a recognized parameter. .RE .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_TYPE_MISMATCH\fR\fR .ad .RS 30n -.rt The \fIvalue\fR argument does not match the expected type for param. .RE .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_SET\fR\fR .ad .RS 30n -.rt The \fIvalue\fR argument is not set. .RE .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_IN_USE\fR\fR .ad .RS 30n -.rt The handle is currently bound. .RE .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_HANDLE_MISMATCH\fR\fR .ad .RS 30n -.rt The \fIvalue\fR argument is not derived from \fIhandle\fR. .RE @@ -193,45 +177,37 @@ The \fIvalue\fR argument is not derived from \fIhandle\fR. The \fBscf_handle_bind()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_INVALID_ARGUMENT\fR\fR .ad .RS 30n -.rt One of the decorations was invalid. .RE .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NO_SERVER\fR\fR .ad .RS 30n -.rt The repository server is not running. .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 connection. .RE .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_IN_USE\fR\fR .ad .RS 30n -.rt The handle is already bound. .RE @@ -240,12 +216,10 @@ The handle is already bound. The \fBscf_handle_unbind()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_BOUND\fR\fR .ad .RS 23n -.rt The handle is not bound. .RE @@ -254,7 +228,6 @@ The handle is not bound. The \fBscf_handle_myname()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_CONNECTION_BROKEN\fR\fR .ad @@ -265,7 +238,6 @@ The connection to the repository was lost. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_BOUND\fR\fR .ad @@ -276,7 +248,6 @@ The handle is not bound. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_SET\fR\fR .ad @@ -296,15 +267,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-LevelSee below. +MT-Level See below. .TE .sp diff --git a/usr/src/man/man3scf/scf_handle_decode_fmri.3scf b/usr/src/man/man3scf/scf_handle_decode_fmri.3scf index 19eb56aeb3..d5b4f60a35 100644 --- a/usr/src/man/man3scf/scf_handle_decode_fmri.3scf +++ b/usr/src/man/man3scf/scf_handle_decode_fmri.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_handle_decode_fmri 3SCF "4 Jun 2009" "SunOS 5.11" "Service Configuration Facility Library Functions" +.TH SCF_HANDLE_DECODE_FMRI 3SCF "Jun 4, 2009" .SH NAME scf_handle_decode_fmri, scf_scope_to_fmri, scf_service_to_fmri, scf_instance_to_fmri, scf_pg_to_fmri, scf_property_to_fmri \- convert between @@ -107,7 +107,6 @@ undefined. The \fBscf_handle_decode_fmri()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_BACKEND_ACCESS\fR\fR .ad @@ -119,7 +118,6 @@ chose for the operation denied access. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_CONNECTION_BROKEN\fR\fR .ad @@ -130,7 +128,6 @@ The connection to the repository was lost. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_CONSTRAINT_VIOLATED\fR\fR .ad @@ -141,7 +138,6 @@ The FMRI does not meet the restrictions requested in the flag argument. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_DELETED\fR\fR .ad @@ -152,7 +148,6 @@ The object argument refers to an object that has been deleted. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_HANDLE_MISMATCH\fR\fR .ad @@ -163,7 +158,6 @@ One or more of the entity handles was not derived from handle. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_INTERNAL\fR\fR .ad @@ -174,7 +168,6 @@ An internal error occurred. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_INVALID_ARGUMENT\fR\fR .ad @@ -185,7 +178,6 @@ The \fIfmri\fR argument is not a valid FMRI. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NO_RESOURCES\fR\fR .ad @@ -196,7 +188,6 @@ The server does not have adequate resources to complete the request. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_BOUND\fR\fR .ad @@ -207,7 +198,6 @@ The handle is not currently bound. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_FOUND\fR\fR .ad @@ -218,7 +208,6 @@ The FMRI is well-formed but there is no object in the repository matching it. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_SET\fR\fR .ad @@ -234,7 +223,6 @@ The \fBscf_scope_to_fmri()\fR, \fBscf_service_to_fmri()\fR, \fBscf_property_to_fmri()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_SET\fR\fR .ad @@ -245,7 +233,6 @@ The \fIobject\fR argument is not currently set. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_DELETED\fR\fR .ad @@ -256,7 +243,6 @@ The object argument refers to an object that has been deleted. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_BOUND\fR\fR .ad @@ -267,7 +253,6 @@ The handle is not currently bound. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_CONNECTION_BROKEN\fR\fR .ad @@ -287,15 +272,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 diff --git a/usr/src/man/man3scf/scf_instance_create.3scf b/usr/src/man/man3scf/scf_instance_create.3scf index 2c098bb688..76a76a5e46 100644 --- a/usr/src/man/man3scf/scf_instance_create.3scf +++ b/usr/src/man/man3scf/scf_instance_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_instance_create 3SCF "24 Sep 2007" "SunOS 5.11" "Service Configuration Facility Library Functions" +.TH SCF_INSTANCE_CREATE 3SCF "Sep 24, 2007" .SH NAME scf_instance_create, scf_instance_handle, scf_instance_destroy, scf_instance_get_parent, scf_instance_get_name, scf_service_get_instance, @@ -12,7 +12,7 @@ handles and instances in the Service 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_instance_t *\fR\fBscf_instance_create\fR(\fBscf_handle_t *\fR\fIhandle\fR); @@ -65,12 +65,10 @@ repository tree. An instance is the child of a service and has two sets of children: .sp .ne 2 -.mk .na \fBProperty Groups\fR .ad .RS 19n -.rt These hold configuration information specific to this instance. See \fBscf_pg_create\fR(3SCF), \fBscf_iter_instance_pgs\fR(3SCF), and \fBscf_iter_instance_pgs_typed\fR(3SCF). @@ -78,12 +76,10 @@ These hold configuration information specific to this instance. See .sp .ne 2 -.mk .na \fBSnapshots\fR .ad .RS 19n -.rt These are complete configuration snapshots that hold unchanging copies of all of the property groups necessary to run the instance. See \fBscf_snapshot_create\fR(3SCF) and \fBscf_iter_instance_snapshots\fR(3SCF). @@ -147,7 +143,6 @@ Upon successful completion, \fBscf_instance_get_parent()\fR, The \fBscf_instance_create()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_HANDLE_DESTROYED\fR\fR .ad @@ -158,7 +153,6 @@ An object was bound to a destroyed handle. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_INTERNAL\fR\fR .ad @@ -169,7 +163,6 @@ An internal error occurred. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_INVALID_ARGUMENT\fR\fR .ad @@ -180,7 +173,6 @@ The \fIhandle\fR argument is \fINULL\fR. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NO_MEMORY\fR\fR .ad @@ -191,7 +183,6 @@ There is not enough memory to allocate an \fBscf_instance_t\fR. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NO_RESOURCES\fR\fR .ad @@ -205,7 +196,6 @@ The server does not have adequate resources for a new instance handle. The \fBscf_instance_handle()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_HANDLE_DESTROYED\fR\fR .ad @@ -220,7 +210,6 @@ The \fBscf_instance_get_name()\fR, \fBscf_instance_get_parent()\fR, and \fBscf_instance_delete()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_DELETED\fR\fR .ad @@ -231,7 +220,6 @@ The instance has been deleted. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_SET\fR\fR .ad @@ -242,7 +230,6 @@ The instance is not set. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_BOUND\fR\fR .ad @@ -253,7 +240,6 @@ The repository handle is not bound. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_CONNECTION_BROKEN\fR\fR .ad @@ -267,7 +253,6 @@ The connection to the repository was lost. The \fBscf_service_add_instance()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_EXISTS\fR\fR .ad @@ -278,7 +263,6 @@ An instance named \fIname\fR already exists. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_INTERNAL\fR\fR .ad @@ -289,7 +273,6 @@ An internal error occurred. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NO_RESOURCES\fR\fR .ad @@ -300,7 +283,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 @@ -314,57 +296,47 @@ The handle is not bound. The \fBscf_service_get_instance()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_BACKEND_ACCESS\fR\fR .ad .RS 28n -.rt The storage mechanism that the repository server (\fBsvc.configd\fR(1M)) chose for the operation denied access. .RE .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_INTERNAL\fR\fR .ad .RS 28n -.rt An internal error occurred. .RE .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_BOUND\fR\fR .ad .RS 28n -.rt The handle is not bound. .RE .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_FOUND\fR\fR .ad .RS 28n -.rt No instance specified by \fIname\fR was found. .RE .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NO_RESOURCES\fR\fR .ad .RS 28n -.rt The repository server is out of resources. .RE @@ -374,7 +346,6 @@ The \fBscf_service_add_instance()\fR and \fBscf_service_get_instance()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_SET\fR\fR .ad @@ -385,7 +356,6 @@ The service is not set. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_DELETED\fR\fR .ad @@ -396,7 +366,6 @@ The service has been deleted. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_INVALID_ARGUMENT\fR\fR .ad @@ -407,7 +376,6 @@ The \fIname\fR argument is not a valid instance name. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_HANDLE_MISMATCH\fR\fR .ad @@ -418,7 +386,6 @@ The service and instance are not derived from the same handle. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_CONNECTION_BROKEN\fR\fR .ad @@ -432,7 +399,6 @@ The connection to the repository was lost. The \fBscf_instance_get_parent()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_HANDLE_MISMATCH\fR\fR .ad @@ -448,7 +414,6 @@ The \fBscf_service_add_instance()\fR and \fBscf_instance_delete()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_PERMISSION_DENIED\fR\fR .ad @@ -459,7 +424,6 @@ The user does not have sufficient privileges to create or delete an instance. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_BACKEND_READONLY\fR\fR .ad @@ -470,7 +434,6 @@ The repository backend is read-only. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_BACKEND_ACCESS\fR\fR .ad @@ -484,12 +447,10 @@ The repository backend refused the modification. The \fBscf_instance_delete()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NO_RESOURCES\fR\fR .ad .RS 26n -.rt The server does not have adequate resources for a new instance handle. .RE @@ -501,15 +462,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 diff --git a/usr/src/man/man3scf/scf_iter_create.3scf b/usr/src/man/man3scf/scf_iter_create.3scf index aa87f4b602..186496941c 100644 --- a/usr/src/man/man3scf/scf_iter_create.3scf +++ b/usr/src/man/man3scf/scf_iter_create.3scf @@ -4,7 +4,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_iter_create 3SCF "4 Dec 2008" "SunOS 5.11" "Service Configuration Facility Library Functions" +.TH SCF_ITER_CREATE 3SCF "Dec 4, 2008" .SH NAME scf_iter_create, scf_iter_handle, scf_iter_destroy, scf_iter_reset, scf_iter_handle_scopes, scf_iter_scope_services, scf_iter_service_instances, @@ -19,7 +19,7 @@ Configuration Facility repository .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_iter_t *\fR\fBscf_iter_create\fR(\fBscf_handle_t *\fR\fIhandle\fR); @@ -237,34 +237,28 @@ the iterator is complete, they return 0. Otherwise, they return -1. The \fBscf_iter_create()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_INVALID_ARGUMENT\fR\fR .ad .RS 30n -.rt The handle argument is NULL. .RE .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NO_MEMORY\fR\fR .ad .RS 30n -.rt There is no memory available. .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 iteration. .RE @@ -273,12 +267,10 @@ The server does not have adequate resources for a new iteration. The \fBscf_iter_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 \fIiter\fR has been destroyed. .RE @@ -287,7 +279,6 @@ The handle associated with \fIiter\fR has been destroyed. The \fBscf_iter_next_value()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_PERMISSION_DENIED\fR\fR .ad @@ -308,7 +299,6 @@ The \fBscf_iter_handle_scopes()\fR, \fBscf_iter_scope_services()\fR, \fBscf_iter_snaplevel_pgs_typed()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_DELETED\fR\fR .ad @@ -319,7 +309,6 @@ The parent has been deleted. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_SET\fR\fR .ad @@ -330,7 +319,6 @@ The parent is not set. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_BOUND\fR\fR .ad @@ -341,7 +329,6 @@ The handle is not bound. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_CONNECTION_BROKEN\fR\fR .ad @@ -352,7 +339,6 @@ The connection to the repository was lost. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_HANDLE_MISMATCH\fR\fR .ad @@ -368,12 +354,10 @@ The \fBscf_iter_service_pgs_typed()\fR, \fBscf_iter_instance_pgs_typed()\fR, \fBscf_iter_snaplevel_pgs_typed()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_INVALID_ARGUMENT\fR\fR .ad .RS 30n -.rt The \fIpgtype\fR argument is not a valid property group type. .RE @@ -385,12 +369,10 @@ The \fBscf_iter_next_service()\fR, \fBscf_iter_next_instance()\fR, fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_DELETED\fR\fR .ad .RS 21n -.rt The parent the iterator is attached to has been deleted. .RE @@ -402,7 +384,6 @@ The \fBscf_iter_next_scope()\fR, \fBscf_iter_next_service()\fR, \fBscf_iter_next_value()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_SET\fR\fR .ad @@ -413,7 +394,6 @@ The iterator is not set. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_INVALID_ARGUMENT\fR\fR .ad @@ -424,7 +404,6 @@ The requested object type does not match the type the iterator is walking. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_BOUND\fR\fR .ad @@ -435,7 +414,6 @@ The handle is not bound. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_HANDLE_MISMATCH\fR\fR .ad @@ -446,7 +424,6 @@ The \fIiter\fR and \fIparent\fR arguments are not derived from the same handle. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_CONNECTION_BROKEN\fR\fR .ad @@ -470,12 +447,10 @@ The \fBscf_iter_scope_services()\fR, \fBscf_iter_service_instances()\fR, fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NO_RESOURCES\fR\fR .ad .RS 26n -.rt The server does not have the resources to complete the request. .RE @@ -534,17 +509,17 @@ if (scf_handle_bind(handle) == -1 || while ((r = scf_iter_next_service(svc_iter, svc)) > 0) { if (scf_service_to_fmri(svc, fmri, sz) < 0) { /* failure */ - } + } puts(fmri); if (scf_iter_service_instances(inst_iter, svc) < 0) { /* failure */ - } + } while ((r = scf_iter_next_instance(inst_iter, inst)) > 0) { if (scf_instance_to_fmri(inst, fmri, sz) < 0) { /* failure */ } puts(fmri); - } + } if (r < 0) break; } @@ -569,15 +544,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 diff --git a/usr/src/man/man3scf/scf_limit.3scf b/usr/src/man/man3scf/scf_limit.3scf index 4181752aea..59f39e9559 100644 --- a/usr/src/man/man3scf/scf_limit.3scf +++ b/usr/src/man/man3scf/scf_limit.3scf @@ -3,13 +3,13 @@ .\" 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_limit 3SCF "17 Aug 2004" "SunOS 5.11" "Service Configuration Facility Library Functions" +.TH SCF_LIMIT 3SCF "Aug 17, 2004" .SH NAME scf_limit \- limit information for Service 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> \fBssize_t\fR \fBscf_limit\fR(\fBuint32_t\fR \fIname\fR); @@ -27,7 +27,6 @@ the execution of a program, but they should not be cached between executions. The available values for \fIname\fR are: .sp .ne 2 -.mk .na \fB\fBSCF_LIMIT_MAX_FMRI_LENGTH\fR\fR .ad @@ -39,7 +38,6 @@ accepts. .sp .ne 2 -.mk .na \fB\fBSCF_LIMIT_MAX_PG_TYPE_LENGTH\fR\fR .ad @@ -51,7 +49,6 @@ facility. .sp .ne 2 -.mk .na \fB\fBSCF_LIMIT_MAX_NAME_LENGTH\fR\fR .ad @@ -63,7 +60,6 @@ value does not include space for the required terminating null byte. .sp .ne 2 -.mk .na \fB\fBSCF_LIMIT_MAX_VALUE_LENGTH\fR\fR .ad @@ -87,12 +83,10 @@ Otherwise, it returns -1. The \fBscf_limit()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_INVALID_ARGUMENT\fR\fR .ad .RS 30n -.rt The \fIname\fR argument is not a recognized request. .RE @@ -107,15 +101,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 StabilityEvolving +Interface Stability Evolving _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3scf/scf_pg_create.3scf b/usr/src/man/man3scf/scf_pg_create.3scf index 65a0b698f9..ba7bddb440 100644 --- a/usr/src/man/man3scf/scf_pg_create.3scf +++ b/usr/src/man/man3scf/scf_pg_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_pg_create 3SCF "29 Jun 2009" "SunOS 5.11" "Service Configuration Facility Library Functions" +.TH SCF_PG_CREATE 3SCF "Jun 29, 2009" .SH NAME scf_pg_create, scf_pg_handle, scf_pg_destroy, scf_pg_get_parent_service, scf_pg_get_parent_instance, scf_pg_get_parent_snaplevel, scf_pg_get_name, @@ -15,7 +15,7 @@ property groups in the Service 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_propertygroup_t *\fR\fBscf_pg_create\fR(\fBscf_handle_t *\fR\fIhandle\fR); @@ -247,7 +247,6 @@ Upon successful completion, \fBscf_pg_get_parent_service()\fR, The \fBscf_pg_create()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_INVALID_ARGUMENT\fR\fR .ad @@ -258,7 +257,6 @@ The \fIhandle\fR argument is \fINULL\fR. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NO_MEMORY\fR\fR .ad @@ -269,7 +267,6 @@ There is not enough memory to allocate an \fBscf_propertygroup_t\fR. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NO_RESOURCES\fR\fR .ad @@ -283,7 +280,6 @@ The server does not have adequate resources for a new property group handle. The \fBscf_pg_handle()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_HANDLE_DESTROYED\fR\fR .ad @@ -297,7 +293,6 @@ The handle associated with \fIpg\fR has been destroyed. The \fBscf_pg_update()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_CONNECTION_BROKEN\fR\fR .ad @@ -308,7 +303,6 @@ The connection to the repository was lost. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_DELETED\fR\fR .ad @@ -319,7 +313,6 @@ An ancestor of the property group specified by \fIpg\fR has been deleted. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_INTERNAL\fR\fR .ad @@ -330,7 +323,6 @@ An internal error occurred. This can happen if \fIpg\fR has been corrupted. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_INVALID_ARGUMENT\fR\fR .ad @@ -341,7 +333,6 @@ The \fIpg\fR argument refers to an invalid \fBscf_propertygroup_t\fR. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_BOUND\fR\fR .ad @@ -352,7 +343,6 @@ The handle is not bound. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_SET\fR\fR .ad @@ -368,7 +358,6 @@ The \fBscf_service_get_pg()\fR, \fBscf_instance_get_pg()\fR, \fBscf_pg_get_underlying_pg()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_BACKEND_ACCESS\fR\fR .ad @@ -380,7 +369,6 @@ chose for the operation denied access. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_INTERNAL\fR\fR .ad @@ -391,7 +379,6 @@ An internal error occurred. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NO_RESOURCES\fR\fR .ad @@ -407,7 +394,6 @@ The \fBscf_pg_get_name()\fR, \fBscf_pg_get_type()\fR, \fBscf_pg_get_flags()\fR, \fBscf_pg_get_parent_instance()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_DELETED\fR\fR .ad @@ -418,7 +404,6 @@ The property group specified by \fIpg\fR has been deleted. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_SET\fR\fR .ad @@ -429,7 +414,6 @@ The property group specified by \fIpg\fR is not set. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_BOUND\fR\fR .ad @@ -440,7 +424,6 @@ The handle is not bound. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_CONNECTION_BROKEN\fR\fR .ad @@ -455,7 +438,6 @@ The \fBscf_pg_get_parent_service()\fR, \fBscf_pg_get_parent_snaplevel()\fR, and \fBscf_pg_get_parent_instance()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_CONSTRAINT_VIOLATED\fR\fR .ad @@ -467,7 +449,6 @@ property group specified by \fIpg\fR. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_HANDLE_MISMATCH\fR\fR .ad @@ -484,7 +465,6 @@ The \fBscf_instance_get_pg()\fR, \fBscf_instance_get_pg_composed()\fR, \fBscf_snaplevel_get_pg()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_FOUND\fR\fR .ad @@ -501,7 +481,6 @@ The \fBscf_service_add_pg()\fR, \fBscf_service_get_pg()\fR, functions will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_DELETED\fR\fR .ad @@ -512,7 +491,6 @@ The service or instance has been deleted. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_SET\fR\fR .ad @@ -523,7 +501,6 @@ The instance is not set. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_INVALID_ARGUMENT\fR\fR .ad @@ -534,7 +511,6 @@ The value of the \fIname\fR argument is not a valid property group name. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_HANDLE_MISMATCH\fR\fR .ad @@ -546,7 +522,6 @@ derived from the same handle. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_BOUND\fR\fR .ad @@ -557,7 +532,6 @@ The handle is not bound. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_CONNECTION_BROKEN\fR\fR .ad @@ -572,7 +546,6 @@ The \fBscf_service_add_pg()\fR and \fBscf_instance_add_pg()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_PERMISSION_DENIED\fR\fR .ad @@ -583,7 +556,6 @@ The caller does not have permission to create the requested property group. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_BACKEND_READONLY\fR\fR .ad @@ -594,7 +566,6 @@ The repository backend is read-only. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_BACKEND_ACCESS\fR\fR .ad @@ -605,7 +576,6 @@ The repository backend refused the modification. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_EXISTS\fR\fR .ad @@ -616,7 +586,6 @@ A {service,instance,property group} named \fIname\fR already exists. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NO_RESOURCES\fR\fR .ad @@ -630,7 +599,6 @@ The server does not have the resources to complete the request. The \fBscf_pg_delete()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_BACKEND_ACCESS\fR\fR .ad @@ -641,7 +609,6 @@ The repository backend refused the modification. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_BACKEND_READONLY\fR\fR .ad @@ -652,7 +619,6 @@ The repository backend is read-only. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_CONNECTION_BROKEN\fR\fR .ad @@ -663,7 +629,6 @@ The connection to the repository was lost. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_DELETED\fR\fR .ad @@ -674,7 +639,6 @@ The property group has been deleted by someone else. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NO_RESOURCES\fR\fR .ad @@ -685,7 +649,6 @@ The server does not have adequate resources for a new property group handle. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_SET\fR\fR .ad @@ -696,7 +659,6 @@ The property group has not been set. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_PERMISSION_DENIED\fR\fR .ad @@ -710,7 +672,6 @@ The caller does not have permission to delete this property group. The \fBscf_pg_get_underlying_pg()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_CONNECTION_BROKEN\fR\fR .ad @@ -721,7 +682,6 @@ The connection to the repository was lost. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_CONSTRAINT_VIOLATED\fR\fR .ad @@ -732,7 +692,6 @@ A required constraint was not met. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_DELETED\fR\fR .ad @@ -743,7 +702,6 @@ The property group has been deleted. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_HANDLE_MISMATCH\fR\fR .ad @@ -754,7 +712,6 @@ The property group and \fIout\fR are not derived from the same handle. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_INVALID_ARGUMENT\fR\fR .ad @@ -765,7 +722,6 @@ An argument is invalid. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_BOUND\fR\fR .ad @@ -776,7 +732,6 @@ The handle is not bound. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_SET\fR\fR .ad @@ -834,15 +789,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 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 diff --git a/usr/src/man/man3scf/scf_scope_create.3scf b/usr/src/man/man3scf/scf_scope_create.3scf index 54508aa5fd..cb1ddacc07 100644 --- a/usr/src/man/man3scf/scf_scope_create.3scf +++ b/usr/src/man/man3scf/scf_scope_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_scope_create 3SCF "9 Sep 2004" "SunOS 5.11" "Service Configuration Facility Library Functions" +.TH SCF_SCOPE_CREATE 3SCF "Sep 9, 2004" .SH NAME scf_scope_create, scf_scope_handle, scf_scope_destroy, scf_scope_get_name, scf_handle_get_scope \- create and manipulate scope handles in the Service @@ -11,7 +11,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_scope_t *\fR\fBscf_scope_create\fR(\fBscf_handle_t *\fR\fIhandle\fR); @@ -93,34 +93,28 @@ it returns -1. The \fBscf_scope_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_scope_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 scope handle. .RE @@ -129,12 +123,10 @@ The server does not have adequate resources for a new scope handle. The \fBscf_scope_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 \fIsc\fR has been destroyed. .RE @@ -143,7 +135,6 @@ The handle associated with \fIsc\fR has been destroyed. The \fBscf_scope_get_name()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_SET\fR\fR .ad @@ -154,7 +145,6 @@ The scope is not set. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_BOUND\fR\fR .ad @@ -165,7 +155,6 @@ The handle is not bound. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_CONNECTION_BROKEN\fR\fR .ad @@ -179,7 +168,6 @@ The connection to the repository was lost. The \fBscf_handle_get_scope()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_FOUND\fR\fR .ad @@ -190,7 +178,6 @@ No scope named name was found. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_INVALID_ARGUMENT\fR\fR .ad @@ -201,7 +188,6 @@ The \fIname\fR argument is not a valid scope name. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_BOUND\fR\fR .ad @@ -212,7 +198,6 @@ The handle is not bound. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_CONNECTION_BROKEN\fR\fR .ad @@ -223,7 +208,6 @@ The connection to the repository was lost. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_HANDLE_MISMATCH\fR\fR .ad @@ -243,15 +227,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 StabilityEvolving +Interface Stability Evolving _ -MT-LevelSafe +MT-Level Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3scf/scf_service_create.3scf b/usr/src/man/man3scf/scf_service_create.3scf index ea84428464..9776694f76 100644 --- a/usr/src/man/man3scf/scf_service_create.3scf +++ b/usr/src/man/man3scf/scf_service_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_service_create 3SCF "27 Aug 2007" "SunOS 5.11" "Service Configuration Facility Library Functions" +.TH SCF_SERVICE_CREATE 3SCF "Aug 27, 2007" .SH NAME scf_service_create, scf_service_handle, scf_service_destroy, scf_service_get_parent, scf_service_get_name, scf_scope_get_service, @@ -12,7 +12,7 @@ handles and services in the Service 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_service_t *\fR\fBscf_service_create\fR(\fBscf_handle_t *\fR\fIhandle\fR); @@ -64,12 +64,10 @@ tree. Services are children of a scope (see \fBscf_scope_create\fR(3SCF)) and have three sets of children: .sp .ne 2 -.mk .na \fBProperty groups\fR .ad .RS 19n -.rt These hold configuration information shared by all of the instances of the service. See \fBscf_pg_create\fR(3SCF), \fBscf_iter_service_pgs\fR(3SCF), and \fBscf_iter_service_pgs_typed\fR(3SCF). @@ -77,12 +75,10 @@ service. See \fBscf_pg_create\fR(3SCF), \fBscf_iter_service_pgs\fR(3SCF), and .sp .ne 2 -.mk .na \fBInstances\fR .ad .RS 19n -.rt A particular instantiation of the service. See \fBscf_instance_create\fR(3SCF). .RE @@ -145,34 +141,28 @@ Upon successful completion, \fBscf_service_get_parent()\fR, The \fBscf_service_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_service_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 scope handle. .RE @@ -181,12 +171,10 @@ The server does not have adequate resources for a new scope handle. The \fBscf_service_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 \fIsvc\fR has been destroyed. .RE @@ -196,7 +184,6 @@ The \fBscf_service_get_name()\fR, \fBscf_service_get_parent()\fR, and \fBscf_service_delete()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_DELETED\fR\fR .ad @@ -207,7 +194,6 @@ The service has been deleted by someone else. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_SET\fR\fR .ad @@ -218,7 +204,6 @@ The service is not set. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_BOUND\fR\fR .ad @@ -229,7 +214,6 @@ The handle is not bound. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_CONNECTION_BROKEN\fR\fR .ad @@ -243,23 +227,19 @@ The connection to the repository was lost. The \fBscf_service_delete()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_EXISTS\fR\fR .ad .RS 26n -.rt The service contains instances. .RE .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NO_RESOURCES\fR\fR .ad .RS 26n -.rt The server does not have adequate resources for a new scope handle. .RE @@ -268,12 +248,10 @@ The server does not have adequate resources for a new scope handle. The \fBscf_scope_add_service()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_EXISTS\fR\fR .ad .RS 20n -.rt A {service,instance,property group} named \fIname\fR already exists. .RE @@ -282,24 +260,20 @@ A {service,instance,property group} named \fIname\fR already exists. The \fBscf_scope_get_service()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_BACKEND_ACCESS\fR\fR .ad .RS 28n -.rt The storage mechanism that the repository server (\fBsvc.configd\fR(1M)) chose for the operation denied access. .RE .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_INTERNAL\fR\fR .ad .RS 28n -.rt An internal error occurred. .RE @@ -309,7 +283,6 @@ The \fBscf_scope_add_service()\fR and \fBscf_scope_get_service()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_CONNECTION_BROKEN\fR\fR .ad @@ -320,7 +293,6 @@ The connection to the repository was lost. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_DELETED\fR\fR .ad @@ -331,7 +303,6 @@ The parent entity has been deleted. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_HANDLE_MISMATCH\fR\fR .ad @@ -342,7 +313,6 @@ The scope and service are not derived from the same handle. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_INVALID_ARGUMENT\fR\fR .ad @@ -353,7 +323,6 @@ The value of the \fIname\fR argument is not a valid service name. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NO_RESOURCES\fR\fR .ad @@ -364,7 +333,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 @@ -375,7 +343,6 @@ The handle is not bound. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_FOUND\fR\fR .ad @@ -386,7 +353,6 @@ The service specified by \fIname\fR was not found. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_SET\fR\fR .ad @@ -401,7 +367,6 @@ The \fBscf_scope_add_service()\fR and \fBscf_service_delete()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_PERMISSION_DENIED\fR\fR .ad @@ -412,7 +377,6 @@ The user does not have sufficient privileges to create or delete a service. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_BACKEND_READONLY\fR\fR .ad @@ -423,7 +387,6 @@ The repository backend is read-only. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_BACKEND_ACCESS\fR\fR .ad @@ -443,15 +406,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 diff --git a/usr/src/man/man3scf/scf_simple_prop_get.3scf b/usr/src/man/man3scf/scf_simple_prop_get.3scf index f008682484..5726bf8f13 100644 --- a/usr/src/man/man3scf/scf_simple_prop_get.3scf +++ b/usr/src/man/man3scf/scf_simple_prop_get.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_simple_prop_get 3SCF "7 Nov 2007" "SunOS 5.11" "Service Configuration Facility Library Functions" +.TH SCF_SIMPLE_PROP_GET 3SCF "Nov 7, 2007" .SH NAME scf_simple_prop_get, scf_simple_prop_free, scf_simple_app_props_get, scf_simple_app_props_free, scf_simple_app_props_next, @@ -17,7 +17,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_simple_prop_t *\fR\fBscf_simple_prop_get\fR(\fBscf_handle_t *\fR\fIhandle\fR, @@ -275,7 +275,6 @@ The \fBscf_simple_prop_get()\fR and \fBscf_simple_app_props_get()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_CONNECTION_BROKEN\fR\fR .ad @@ -286,7 +285,6 @@ The connection to the datastore is broken. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_INVALID_ARGUMENT\fR\fR .ad @@ -297,7 +295,6 @@ The instance FMRI is invalid or property name is \fINULL\fR. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NO_MEMORY\fR\fR .ad @@ -308,7 +305,6 @@ The memory allocation failed. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_BOUND\fR\fR .ad @@ -319,7 +315,6 @@ The connection handle is not bound. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_FOUND\fR\fR .ad @@ -330,7 +325,6 @@ The specified instance or property does not exist. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_PERMISSION_DENIED\fR\fR .ad @@ -344,12 +338,10 @@ The caller is not authorized to read the property's value(s). The \fBscf_simple_app_props_next()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_SET\fR\fR .ad .RS 21n -.rt The value of the \fIpropblock\fR argument is \fINULL\fR. .RE @@ -358,23 +350,19 @@ The value of the \fIpropblock\fR argument is \fINULL\fR. The \fBscf_simple_app_props_search()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_FOUND\fR\fR .ad .RS 23n -.rt The property was not found. .RE .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_SET\fR\fR .ad .RS 23n -.rt The value of the \fIpropblock\fR or \fIpropname\fR argument is \fINULL\fR. .RE @@ -385,12 +373,10 @@ The \fBscf_simple_prop_numvalues()\fR, \fBscf_simple_prop_type()\fR, fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_SET\fR\fR .ad .RS 21n -.rt The property is \fINULL\fR. .RE @@ -402,23 +388,19 @@ The \fBscf_simple_prop_next_boolean()\fR, \fBscf_simple_prop_next_count()\fR, \fBscf_simple_prop_next_opaque()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_SET\fR\fR .ad .RS 27n -.rt The property is \fINULL\fR. .RE .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_TYPE_MISMATCH\fR\fR .ad .RS 27n -.rt The requested type does not match the property type. .RE @@ -498,35 +480,35 @@ scf_simple_app_props_free(appprops); * is a list of integers that are pulled into an array. * Note how val is passed back into each call, as described above. */ - + scf_simple_app_props_t *appprops; scf_simple_prop_t *prop; int i; int64_t *intlist; ssize_t numvals; - + appprops = scf_simple_app_props_get( "svc://localhost/category/service/instance"); - + prop = scf_simple_app_props_search(appprops, "appname", "numlist"); - + if(prop != NULL){ - + numvals = scf_simple_prop_numvalues(prop); - + if(numvals > 0){ - + intlist = malloc(numvals * sizeof(int64_t)); - + val = scf_simple_prop_next_integer(prop); - + for(i=0, i < numvals, i++){ intlist[i] = *val; val = scf_simple_prop_next_integer(prop); } } } - + scf_simple_app_props_free(appprops); .fi .in -2 @@ -539,15 +521,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 diff --git a/usr/src/man/man3scf/scf_simple_walk_instances.3scf b/usr/src/man/man3scf/scf_simple_walk_instances.3scf index 4a71a7657f..5fe2759df3 100644 --- a/usr/src/man/man3scf/scf_simple_walk_instances.3scf +++ b/usr/src/man/man3scf/scf_simple_walk_instances.3scf @@ -3,14 +3,14 @@ .\" 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_simple_walk_instances 3SCF "17 Aug 2004" "SunOS 5.11" "Service Configuration Facility Library Functions" +.TH SCF_SIMPLE_WALK_INSTANCES 3SCF "Aug 17, 2004" .SH NAME scf_simple_walk_instances \- observational interface for Service 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> \fBint\fR \fBscf_simple_walk_instances\fR(\fBuint_t\fR \fIflags\fR, \fBvoid *\fR\fIprivate\fR, @@ -95,15 +95,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 StabilityEvolving +Interface Stability Evolving _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO diff --git a/usr/src/man/man3scf/scf_snaplevel_create.3scf b/usr/src/man/man3scf/scf_snaplevel_create.3scf index 4c2886beab..90662d5e0b 100644 --- a/usr/src/man/man3scf/scf_snaplevel_create.3scf +++ b/usr/src/man/man3scf/scf_snaplevel_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_snaplevel_create 3SCF "27 Aug 2007" "SunOS 5.11" "Service Configuration Facility Library Functions" +.TH SCF_SNAPLEVEL_CREATE 3SCF "Aug 27, 2007" .SH NAME scf_snaplevel_create, scf_snaplevel_handle, scf_snaplevel_destroy, scf_snaplevel_get_parent, scf_snaplevel_get_scope_name, @@ -13,7 +13,7 @@ manipulate snaplevel handles in the Service 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_snaplevel_t *\fR\fBscf_snaplevel_create\fR(\fBscf_handle_t *\fR\fIhandle\fR); @@ -132,34 +132,28 @@ Upon successful completion, \fBscf_snaplevel_get_parent()\fR, The \fBscf_snaplevel_create()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_INVALID_ARGUMENT\fR\fR .ad .RS 30n -.rt 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_snaplevel_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 snapshot handle. .RE @@ -171,7 +165,6 @@ The \fBscf_snaplevel_get_scope_name()\fR, functions will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_DELETED\fR\fR .ad @@ -182,7 +175,6 @@ The object referred to by \fIlevel\fR has been deleted. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_SET\fR\fR .ad @@ -193,7 +185,6 @@ The snaplevel is not set. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_BOUND\fR\fR .ad @@ -204,7 +195,6 @@ The handle is not bound. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_CONNECTION_BROKEN\fR\fR .ad @@ -218,7 +208,6 @@ The connection to the repository was lost. The \fBscf_snaplevel_get_instance_name()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_CONSTRAINT_VIOLATED\fR\fR .ad @@ -232,7 +221,6 @@ The snaplevel is derived from a service. The \fBscf_snapshot_get_base_snaplevel()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_CONNECTION_BROKEN\fR\fR .ad @@ -243,7 +231,6 @@ The connection to the repository was lost. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_DELETED\fR\fR .ad @@ -254,7 +241,6 @@ The snapshot has been deleted. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_HANDLE_MISMATCH\fR\fR .ad @@ -265,7 +251,6 @@ The snapshot and snaplevel are not derived from the same handle. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NO_RESOURCES\fR\fR .ad @@ -276,7 +261,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 @@ -287,7 +271,6 @@ The handle is not bound. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_FOUND\fR\fR .ad @@ -298,7 +281,6 @@ There are no snaplevels in this snapshot. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_SET\fR\fR .ad @@ -312,7 +294,6 @@ The snapshot is not set. The \fBscf_snaplevel_get_next_snaplevel()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_DELETED\fR\fR .ad @@ -323,7 +304,6 @@ The snaplevel has been deleted. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_SET\fR\fR .ad @@ -334,7 +314,6 @@ The snaplevel is not set. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_HANDLE_MISMATCH\fR\fR .ad @@ -345,7 +324,6 @@ The \fIin\fR and \fIout\fR arguments are not derived from the same handle. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_BOUND\fR\fR .ad @@ -356,7 +334,6 @@ The handle is not bound. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_CONNECTION_BROKEN\fR\fR .ad @@ -367,7 +344,6 @@ The connection to the repository was lost. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_FOUND\fR\fR .ad @@ -387,15 +363,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 diff --git a/usr/src/man/man3scf/scf_snapshot_create.3scf b/usr/src/man/man3scf/scf_snapshot_create.3scf index b621750524..e1d7a4bf05 100644 --- a/usr/src/man/man3scf/scf_snapshot_create.3scf +++ b/usr/src/man/man3scf/scf_snapshot_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_snapshot_create 3SCF "27 Aug 2007" "SunOS 5.11" "Service Configuration Facility Library Functions" +.TH SCF_SNAPSHOT_CREATE 3SCF "Aug 27, 2007" .SH NAME scf_snapshot_create, scf_snapshot_handle, scf_snapshot_destroy, scf_snapshot_get_parent, scf_snapshot_get_name, scf_snapshot_update, @@ -12,7 +12,7 @@ snapshots in the Service 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_snapshot_t *\fR\fBscf_snapshot_create\fR(\fBscf_handle_t *\fR\fIhandle\fR); @@ -121,7 +121,6 @@ Upon successful completion, \fBscf_snapshot_get_parent()\fR and The \fBscf_snapshot_create()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_INVALID_ARGUMENT\fR\fR .ad @@ -132,7 +131,6 @@ The \fIhandle\fR argument is \fINULL\fR. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NO_MEMORY\fR\fR .ad @@ -143,7 +141,6 @@ There is not enough memory to allocate an \fBscf_snapshot_t\fR. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NO_RESOURCES\fR\fR .ad @@ -157,7 +154,6 @@ The server does not have adequate resources for a new instance handle. The \fBscf_snapshot_handle()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_HANDLE_DESTROYED\fR\fR .ad @@ -172,7 +168,6 @@ The \fBscf_snapshot_get_name()\fR and \fBscf_snapshot_get_parent()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_DELETED\fR\fR .ad @@ -183,7 +178,6 @@ The snapshot has been deleted. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_SET\fR\fR .ad @@ -194,7 +188,6 @@ The snapshot is not set. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_BOUND\fR\fR .ad @@ -205,7 +198,6 @@ The handle is not bound. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_CONNECTION_BROKEN\fR\fR .ad @@ -219,7 +211,6 @@ The connection to the repository was lost. The \fBscf_snapshot_update()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_CONNECTION_BROKEN\fR\fR .ad @@ -230,7 +221,6 @@ The connection to the repository was lost. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_DELETED\fR\fR .ad @@ -241,7 +231,6 @@ An ancestor of the snapshot specified by \fIsnap\fR has been deleted. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_INTERNAL\fR\fR .ad @@ -252,7 +241,6 @@ An internal error occurred. This can happen if \fIsnap\fR has been corrupted. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_INVALID_ARGUMENT\fR\fR .ad @@ -263,7 +251,6 @@ The \fIsnap\fR argument refers to an invalid \fBscf_snapshot_t\fR. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_BOUND\fR\fR .ad @@ -274,7 +261,6 @@ The handle is not bound. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_SET\fR\fR .ad @@ -288,7 +274,6 @@ The snapshot specified by \fIsnap\fR is not set. The \fBscf_instance_get_snapshot()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_BACKEND_ACCESS\fR\fR .ad @@ -300,7 +285,6 @@ chose for the operation denied access. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_CONNECTION_BROKEN\fR\fR .ad @@ -311,7 +295,6 @@ The connection to the repository was lost. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_DELETED\fR\fR .ad @@ -322,7 +305,6 @@ The instance has been deleted. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_HANDLE_MISMATCH\fR\fR .ad @@ -333,7 +315,6 @@ The instance and snapshot are not derived from the same handle. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_INTERNAL\fR\fR .ad @@ -344,7 +325,6 @@ An internal error occurred. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_INVALID_ARGUMENT\fR\fR .ad @@ -355,7 +335,6 @@ The value of the \fIname\fR argument is not a valid snapshot name. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NO_RESOURCES\fR\fR .ad @@ -366,7 +345,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 @@ -377,7 +355,6 @@ The handle is not bound. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_FOUND\fR\fR .ad @@ -388,7 +365,6 @@ The snapshot specified by \fIname\fR was not found. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_SET\fR\fR .ad @@ -408,15 +384,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 diff --git a/usr/src/man/man3scf/scf_tmpl_pg_create.3scf b/usr/src/man/man3scf/scf_tmpl_pg_create.3scf index 2d6b9d3b2a..510c6cd47e 100644 --- a/usr/src/man/man3scf/scf_tmpl_pg_create.3scf +++ b/usr/src/man/man3scf/scf_tmpl_pg_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_tmpl_pg_create 3SCF "28 Oct 2008" "SunOS 5.11" "Service Configuration Facility Library Functions" +.TH SCF_TMPL_PG_CREATE 3SCF "Oct 28, 2008" .SH NAME scf_tmpl_pg_create, scf_tmpl_pg_reset, scf_tmpl_pg_destroy, scf_tmpl_get_by_pg_name, scf_tmpl_get_by_pg, scf_tmpl_iter_pgs \- template @@ -11,7 +11,7 @@ property group functions .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_pg_tmpl_t *\fR\fBscf_tmpl_pg_create\fR(\fBscf_handle_t *\fR\fIhandle\fR); @@ -138,7 +138,6 @@ The \fBscf_tmpl_get_by_pg()\fR, \fBscf_tmpl_get_by_pg_name()\fR, and \fBscf_tmpl_iter_pgs()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_BACKEND_ACCESS\fR\fR .ad @@ -150,7 +149,6 @@ for the operation denied access. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_CONNECTION_BROKEN\fR\fR .ad @@ -161,7 +159,6 @@ The connection to the repository was lost. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_DELETED\fR\fR .ad @@ -172,7 +169,6 @@ The instance or its template property group has been deleted. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_HANDLE_DESTROYED\fR\fR .ad @@ -183,7 +179,6 @@ The handle passed in has been destroyed. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_INTERNAL\fR\fR .ad @@ -194,7 +189,6 @@ An internal error occurred. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_INVALID_ARGUMENT\fR\fR .ad @@ -206,7 +200,6 @@ or \fIpg\fR is invalid. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NO_MEMORY\fR\fR .ad @@ -217,7 +210,6 @@ There is not enough memory to populate the \fBscf_pg_tmpl_t\fR. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NO_RESOURCES\fR\fR .ad @@ -228,7 +220,6 @@ The server does not have adequate resources to complete the request. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_BOUND\fR\fR .ad @@ -239,7 +230,6 @@ The handle is not currently bound. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_FOUND\fR\fR .ad @@ -251,7 +241,6 @@ not exist. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_PERMISSION_DENIED\fR\fR .ad @@ -265,12 +254,10 @@ The template could not be read due to access restrictions. The \fBscf_tmpl_get_by_pg()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_SET\fR\fR .ad .RS 21n -.rt The property group specified by \fIpg\fR is not set. .RE @@ -279,23 +266,19 @@ The property group specified by \fIpg\fR is not set. The \fBscf_tmpl_pg_create()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_INVALID_ARGUMENT\fR\fR .ad .RS 30n -.rt The handle argument is \fINULL\fR. .RE .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NO_MEMORY\fR\fR .ad .RS 30n -.rt There is no memory available. .RE @@ -307,15 +290,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 diff --git a/usr/src/man/man3scf/scf_tmpl_pg_name.3scf b/usr/src/man/man3scf/scf_tmpl_pg_name.3scf index 3ca4c79735..37cbc21266 100644 --- a/usr/src/man/man3scf/scf_tmpl_pg_name.3scf +++ b/usr/src/man/man3scf/scf_tmpl_pg_name.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_tmpl_pg_name 3SCF "28 Oct 2008" "SunOS 5.11" "Service Configuration Facility Library Functions" +.TH SCF_TMPL_PG_NAME 3SCF "Oct 28, 2008" .SH NAME scf_tmpl_pg_name, scf_tmpl_pg_type, scf_tmpl_pg_target, scf_tmpl_pg_required, scf_tmpl_pg_common_name, scf_tmpl_pg_description \- retrieve the metadata about @@ -121,7 +121,6 @@ The \fBscf_tmpl_pg_name()\fR, \fBscf_tmpl_pg_common_name()\fR, if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_BACKEND_ACCESS\fR\fR .ad @@ -133,7 +132,6 @@ for the operation denied access. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_CONNECTION_BROKEN\fR\fR .ad @@ -144,7 +142,6 @@ The connection to the repository was lost. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_DELETED\fR\fR .ad @@ -155,7 +152,6 @@ The template property group has been deleted. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_HANDLE_DESTROYED\fR\fR .ad @@ -166,7 +162,6 @@ The handle passed in has been destroyed. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_INTERNAL\fR\fR .ad @@ -177,7 +172,6 @@ An internal error occurred. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NO_MEMORY\fR\fR .ad @@ -188,7 +182,6 @@ There is not enough memory to populate the \fBscf_pg_tmpl_t\fR. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NO_RESOURCES\fR\fR .ad @@ -199,7 +192,6 @@ The server does not have adequate resources to complete the request. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_BOUND\fR\fR .ad @@ -210,7 +202,6 @@ The handle is not currently bound. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_PERMISSION_DENIED\fR\fR .ad @@ -221,7 +212,6 @@ The template could not be read due to access restrictions. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_TEMPLATE_INVALID\fR\fR .ad @@ -236,23 +226,19 @@ The \fBscf_tmpl_pg_common_name()\fR and \fBscf_tmpl_pg_description()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_FOUND\fR\fR .ad .RS 30n -.rt The property does not exist or exists and has no value. .RE .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_INVALID_ARGUMENT\fR\fR .ad .RS 30n -.rt The locale string is too long. .RE @@ -264,15 +250,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 diff --git a/usr/src/man/man3scf/scf_tmpl_prop_create.3scf b/usr/src/man/man3scf/scf_tmpl_prop_create.3scf index 141d556f52..1235b1f7e2 100644 --- a/usr/src/man/man3scf/scf_tmpl_prop_create.3scf +++ b/usr/src/man/man3scf/scf_tmpl_prop_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_tmpl_prop_create 3SCF "28 Oct 2008" "SunOS 5.11" "Service Configuration Facility Library Functions" +.TH SCF_TMPL_PROP_CREATE 3SCF "Oct 28, 2008" .SH NAME scf_tmpl_prop_create, scf_tmpl_prop_reset, scf_tmpl_prop_destroy, scf_tmpl_get_by_prop, scf_tmpl_iter_props \- template property functions @@ -86,7 +86,6 @@ The \fBscf_tmpl_get_by_prop()\fR and \fBscf_tmpl_iter_props()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_BACKEND_ACCESS\fR\fR .ad @@ -98,7 +97,6 @@ for the operation denied access. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_CONNECTION_BROKEN\fR\fR .ad @@ -109,7 +107,6 @@ The connection to the repository was lost. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_DELETED\fR\fR .ad @@ -120,7 +117,6 @@ The instance or its template property group has been deleted. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_HANDLE_DESTROYED\fR\fR .ad @@ -131,7 +127,6 @@ The handle passed in has been destroyed. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_INTERNAL\fR\fR .ad @@ -142,7 +137,6 @@ An internal error occurred. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_INVALID_ARGUMENT\fR\fR .ad @@ -153,7 +147,6 @@ One of the arguments is invalid. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NO_MEMORY\fR\fR .ad @@ -164,7 +157,6 @@ There is not enough memory to populate the \fBscf_prop_tmpl_t\fR. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NO_RESOURCES\fR\fR .ad @@ -175,7 +167,6 @@ The server does not have adequate resources to complete the request. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_BOUND\fR\fR .ad @@ -189,7 +180,6 @@ The handle is not currently bound. The \fBscf_tmpl_get_by_prop()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_FOUND\fR\fR .ad @@ -200,7 +190,6 @@ Template object matching property doesn't exist in the repository. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_TYPE_MISMATCH\fR\fR .ad @@ -211,7 +200,6 @@ Matching template object is the wrong type in the repository. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_PERMISSION_DENIED\fR\fR .ad @@ -222,7 +210,6 @@ The template could not be read due to access restrictions. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_TEMPLATE_INVALID\fR\fR .ad @@ -236,23 +223,19 @@ The template data is invalid. The \fBscf_tmpl_prop_create()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_INVALID_ARGUMENT\fR\fR .ad .RS 30n -.rt 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 no memory available. .RE @@ -264,15 +247,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 diff --git a/usr/src/man/man3scf/scf_tmpl_prop_name.3scf b/usr/src/man/man3scf/scf_tmpl_prop_name.3scf index f9011b7062..4cda998bbb 100644 --- a/usr/src/man/man3scf/scf_tmpl_prop_name.3scf +++ b/usr/src/man/man3scf/scf_tmpl_prop_name.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_tmpl_prop_name 3SCF "28 Oct 2008" "SunOS 5.11" "Service Configuration Facility Library Functions" +.TH SCF_TMPL_PROP_NAME 3SCF "Oct 28, 2008" .SH NAME scf_tmpl_prop_name, scf_tmpl_prop_type, scf_tmpl_prop_required, scf_tmpl_prop_common_name, scf_tmpl_prop_description, scf_tmpl_prop_units, @@ -412,7 +412,6 @@ The \fBscf_tmpl_prop_name()\fR, \fBscf_tmpl_prop_type()\fR, functions will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_BACKEND_ACCESS\fR\fR .ad @@ -424,7 +423,6 @@ for the operation denied access. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_CONNECTION_BROKEN\fR\fR .ad @@ -435,7 +433,6 @@ The connection to the repository was lost. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_DELETED\fR\fR .ad @@ -446,7 +443,6 @@ The template property group has been deleted. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_HANDLE_DESTROYED\fR\fR .ad @@ -457,7 +453,6 @@ The handle passed in has been destroyed. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_INTERNAL\fR\fR .ad @@ -468,7 +463,6 @@ An internal error occurred. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NO_MEMORY\fR\fR .ad @@ -479,7 +473,6 @@ There is not enough memory to populate the \fBscf_pg_tmpl_t\fR. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NO_RESOURCES\fR\fR .ad @@ -490,7 +483,6 @@ The server does not have adequate resources to complete the request. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_BOUND\fR\fR .ad @@ -501,7 +493,6 @@ The handle is not currently bound. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_PERMISSION_DENIED\fR\fR .ad @@ -512,7 +503,6 @@ The template could not be read due to access restrictions. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_TEMPLATE_INVALID\fR\fR .ad @@ -535,12 +525,10 @@ The \fBscf_tmpl_prop_type()\fR, \fBscf_tmpl_prop_common_name()\fR, and \fBscf_tmpl_value_description()\fR, functions will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_FOUND\fR\fR .ad .RS 23n -.rt The property does not exist or exists and has no value. .RE @@ -549,12 +537,10 @@ The property does not exist or exists and has no value. The \fBscf_tmpl_value_in_constraint()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_INVALID_ARGUMENT\fR\fR .ad .RS 30n -.rt Value is not a valid \fBscf_value_t\fR. .RE @@ -564,12 +550,10 @@ The \fBscf_tmpl_prop_common_name()\fR, \fBscf_tmpl_prop_description()\fR and \fBscf_tmpl_prop_units()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_INVALID_ARGUMENT\fR\fR .ad .RS 30n -.rt The locale string is too long to make a property name. .RE @@ -579,12 +563,10 @@ The \fBscf_tmpl_value_common_name()\fR and \fBscf_tmpl_value_description()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_INVALID_ARGUMENT\fR\fR .ad .RS 30n -.rt The value and locale strings are too long to make a property name. .RE @@ -594,7 +576,6 @@ The \fBscf_tmpl_value_count_range_constraints()\fR and \fBscf_tmpl_value_count_range_choices()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_CONSTRAINT_VIOLATED\fR\fR .ad @@ -609,7 +590,6 @@ The \fBscf_tmpl_value_int_range_constraints()\fR and \fBscf_tmpl_value_int_range_choices()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_CONSTRAINT_VIOLATED\fR\fR .ad @@ -626,7 +606,6 @@ The \fBscf_tmpl_value_count_range_constraints()\fR, \fBscf_tmpl_value_int_range_choices()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_CONSTRAINT_VIOLATED\fR\fR .ad @@ -643,15 +622,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 diff --git a/usr/src/man/man3scf/scf_tmpl_validate_fmri.3scf b/usr/src/man/man3scf/scf_tmpl_validate_fmri.3scf index c4e8be7e2e..eb02188581 100644 --- a/usr/src/man/man3scf/scf_tmpl_validate_fmri.3scf +++ b/usr/src/man/man3scf/scf_tmpl_validate_fmri.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_tmpl_validate_fmri 3SCF "28 Oct 2008" "SunOS 5.11" "Service Configuration Facility Library Functions" +.TH SCF_TMPL_VALIDATE_FMRI 3SCF "Oct 28, 2008" .SH NAME scf_tmpl_validate_fmri, scf_tmpl_errors_destroy, scf_tmpl_next_error, scf_tmpl_reset_errors, scf_tmpl_strerror, scf_tmpl_error_type, @@ -133,7 +133,6 @@ added as additional validation checks are introduced. Based on the error type, a set of fields can be retrieved from the error. .sp .ne 2 -.mk .na \fB\fBSCF_TERR_TYPE_INVALID\fR\fR .ad @@ -144,7 +143,6 @@ reserved invalid type .sp .ne 2 -.mk .na \fB\fBSCF_TERR_MISSING_PG\fR\fR .ad @@ -163,7 +161,6 @@ property group template name and type .sp .ne 2 -.mk .na \fB\fBSCF_TERR_WRONG_PG_TYPE\fR\fR .ad @@ -186,7 +183,6 @@ property group name and type .sp .ne 2 -.mk .na \fB\fBSCF_TERR_MISSING_PROP\fR\fR .ad @@ -209,7 +205,6 @@ property template name and type .sp .ne 2 -.mk .na \fB\fBSCF_TERR_WRONG_PROP_TYPE\fR\fR .ad @@ -240,7 +235,6 @@ property name and type .sp .ne 2 -.mk .na \fB\fBSCF_TERR_CARDINALITY_VIOLATION\fR\fR .ad @@ -275,7 +269,6 @@ cardinality and cardinality limits .sp .ne 2 -.mk .na \fB\fBSCF_TERR_VALUE_CONSTRAINT_VIOLATED\fR\fR .ad @@ -310,7 +303,6 @@ value .sp .ne 2 -.mk .na \fB\fBSCF_TERR_RANGE_VIOLATION\fR\fR .ad @@ -345,7 +337,6 @@ value .sp .ne 2 -.mk .na \fB\fBSCF_TERR_PROP_TYPE_MISMATCH\fR\fR .ad @@ -368,7 +359,6 @@ property template name and type .sp .ne 2 -.mk .na \fB\fBSCF_TERR_VALUE_OUT_OF_RANGE\fR\fR .ad @@ -395,7 +385,6 @@ value .sp .ne 2 -.mk .na \fB\fBSCF_TERR_INVALID_VALUE\fR\fR .ad @@ -495,7 +484,6 @@ have been written to s if n had been sufficiently large. The \fBscf_tmpl_validate_fmri()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_BACKEND_ACCESS\fR\fR .ad @@ -507,7 +495,6 @@ for the operation denied access. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_CONNECTION_BROKEN\fR\fR .ad @@ -518,7 +505,6 @@ The connection to the repository was lost. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_DELETED\fR\fR .ad @@ -529,7 +515,6 @@ The instance or one of its template property group have been deleted. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_HANDLE_DESTROYED\fR\fR .ad @@ -540,7 +525,6 @@ The handle passed in has been destroyed. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_INTERNAL\fR\fR .ad @@ -551,7 +535,6 @@ An internal error occurred. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_INVALID_ARGUMENT\fR\fR .ad @@ -562,7 +545,6 @@ The handle argument, FMRI argument, or snapshot name is invalid .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NO_MEMORY\fR\fR .ad @@ -573,7 +555,6 @@ There is not enough memory to validate the instance. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NO_RESOURCES\fR\fR .ad @@ -584,7 +565,6 @@ The server does not have adequate resources to complete the request. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_BOUND\fR\fR .ad @@ -595,7 +575,6 @@ The handle is not currently bound. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_FOUND\fR\fR .ad @@ -607,7 +586,6 @@ not exist. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_PERMISSION_DENIED\fR\fR .ad @@ -618,7 +596,6 @@ The instance or template could not be read due to access restrictions. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_TEMPLATE_INVALID\fR\fR .ad @@ -636,12 +613,10 @@ The \fBscf_tmpl_strerror()\fR, \fBscf_tmpl_error_type()\fR, fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_INVALID_ARGUMENT\fR\fR .ad .RS 30n -.rt The \fBscf_tmpl_errors_t\fR argument is invalid. .RE @@ -653,12 +628,10 @@ The \fBscf_tmpl_error_type()\fR, \fBscf_tmpl_error_source_fmri()\fR, \fBscf_tmpl_error_value()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_FOUND\fR\fR .ad .RS 23n -.rt The data requested is not available for the \fBscf_tmpl_error_t\fR argument supplied. .RE @@ -671,15 +644,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 diff --git a/usr/src/man/man3scf/scf_transaction_create.3scf b/usr/src/man/man3scf/scf_transaction_create.3scf index 6afe4bd576..b895683679 100644 --- a/usr/src/man/man3scf/scf_transaction_create.3scf +++ b/usr/src/man/man3scf/scf_transaction_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_transaction_create 3SCF "28 Aug 2007" "SunOS 5.11" "Service Configuration Facility Library Functions" +.TH SCF_TRANSACTION_CREATE 3SCF "Aug 28, 2007" .SH NAME scf_transaction_create, scf_transaction_handle, scf_transaction_reset, scf_transaction_reset_all, scf_transaction_destroy, @@ -15,7 +15,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_transaction_t *\fR\fBscf_transaction_create\fR(\fBscf_handle_t *\fR\fIhandle\fR); @@ -92,24 +92,20 @@ atomically, whereby either all of the updates occur or none of them do. An \fBscf_transaction_t\fR is always in one of the following states: .sp .ne 2 -.mk .na \fBreset\fR .ad .RS 13n -.rt The initial state. A successful return of \fBscf_transaction_start()\fR moves the transaction to the started state. .RE .sp .ne 2 -.mk .na \fBstarted\fR .ad .RS 13n -.rt The transaction has started. The \fBscf_transaction_property_delete()\fR, \fBscf_transaction_property_new()\fR, \fBscf_transaction_property_change()\fR, and \fBscf_transaction_property_change_type()\fR functions can be used to set @@ -120,12 +116,10 @@ state. .sp .ne 2 -.mk .na \fBcommitted\fR .ad .RS 13n -.rt A call to \fBscf_transaction_commit()\fR (whether or not it is successful) moves the transaction to the committed state. Modifying, resetting, or destroying the entries and values associated with a transaction will move it to @@ -134,12 +128,10 @@ the invalid state. .sp .ne 2 -.mk .na \fBinvalid\fR .ad .RS 13n -.rt The \fBscf_transaction_reset()\fR and \fBscf_transaction_reset_all()\fR functions return the transaction to the reset state. .RE @@ -179,7 +171,6 @@ associated with a transaction. These functions affect commit and failure as follows: .sp .ne 2 -.mk .na \fB\fBscf_transaction_property_delete()\fR\fR .ad @@ -191,7 +182,6 @@ fails if \fIprop_name\fR does not name a property in the property group. .sp .ne 2 -.mk .na \fB\fBscf_transaction_property_new()\fR\fR .ad @@ -204,7 +194,6 @@ property in the property group. .sp .ne 2 -.mk .na \fB\fBscf_transaction_property_change()\fR\fR .ad @@ -218,7 +207,6 @@ type. .sp .ne 2 -.mk .na \fB\fBscf_transaction_property_change_type()\fR\fR .ad @@ -277,34 +265,28 @@ recent, and -1 on failure. The \fBscf_transaction_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_transaction_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 transaction handle. .RE @@ -313,12 +295,10 @@ The server does not have adequate resources for a new transaction handle. The \fBscf_transaction_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 \fItran\fR has been destroyed. .RE @@ -327,7 +307,6 @@ The handle associated with \fItran\fR has been destroyed. The \fBscf_transaction_start()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_BACKEND_ACCESS\fR\fR .ad @@ -338,7 +317,6 @@ The repository backend refused the modification. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_BACKEND_READONLY\fR\fR .ad @@ -349,7 +327,6 @@ The repository backend refused modification because it is read-only. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_CONNECTION_BROKEN\fR\fR .ad @@ -360,7 +337,6 @@ The connection to the repository was lost. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_DELETED\fR\fR .ad @@ -371,7 +347,6 @@ The property group has been deleted. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_HANDLE_MISMATCH\fR\fR .ad @@ -382,7 +357,6 @@ The transaction and property group are not derived from the same handle. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_IN_USE\fR\fR .ad @@ -395,7 +369,6 @@ can be used to return the transaction to the \fBreset\fR state. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NO_RESOURCES\fR\fR .ad @@ -406,7 +379,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 @@ -417,7 +389,6 @@ The handle was never bound or has been unbound. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_SET\fR\fR .ad @@ -428,7 +399,6 @@ The property group specified by \fIpg\fR is not set. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_PERMISSION_DENIED\fR\fR .ad @@ -444,7 +414,6 @@ The \fBscf_transaction_property_delete()\fR, and \fBscf_transaction_property_change_type()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_BACKEND_ACCESS\fR\fR .ad @@ -456,7 +425,6 @@ chose for the operation denied access. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_CONNECTION_BROKEN\fR\fR .ad @@ -467,7 +435,6 @@ The connection to the repository was lost. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_DELETED\fR\fR .ad @@ -478,7 +445,6 @@ The property group the transaction is changing has been deleted. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_HANDLE_MISMATCH\fR\fR .ad @@ -489,7 +455,6 @@ The transaction and entry are not derived from the same handle. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_IN_USE\fR\fR .ad @@ -500,7 +465,6 @@ The property already has an entry in the transaction. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_INTERNAL\fR\fR .ad @@ -511,7 +475,6 @@ An internal error occurred. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_INVALID_ARGUMENT\fR\fR .ad @@ -522,7 +485,6 @@ The \fIprop_name\fR argument is not a valid property name. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NO_RESOURCES\fR\fR .ad @@ -533,7 +495,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 @@ -544,7 +505,6 @@ The handle is not bound. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_SET\fR\fR .ad @@ -555,7 +515,6 @@ The transaction has not been started. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_TYPE_MISMATCH\fR\fR .ad @@ -571,23 +530,19 @@ The \fBscf_transaction_property_delete()\fR, \fBscf_transaction_property_change_type()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_EXISTS\fR\fR .ad .RS 23n -.rt The object already exists. .RE .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_FOUND\fR\fR .ad .RS 23n -.rt The property group does not contain a property named \fIprop_name\fR. .RE @@ -598,12 +553,10 @@ The \fBscf_transaction_property_new()\fR , \fBscf_transaction_property_change_type()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_INVALID_ARGUMENT\fR\fR .ad .RS 30n -.rt The \fIprop_name\fR argument is not not a valid property name, or the \fItype\fR argument is an invalid type. .RE @@ -613,23 +566,19 @@ The \fIprop_name\fR argument is not not a valid property name, or the The \fBscf_transaction_property_new()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_EXISTS\fR\fR .ad .RS 23n -.rt The property group already contains a property named \fIprop_name\fR. .RE .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_FOUND\fR\fR .ad .RS 23n -.rt Nothing of that name was found. .RE @@ -638,12 +587,10 @@ Nothing of that name was found. The \fBscf_transaction_property_change()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_TYPE_MISMATCH\fR\fR .ad .RS 27n -.rt The property \fIprop_name\fR is not of type \fItype\fR. .RE @@ -652,7 +599,6 @@ The property \fIprop_name\fR is not of type \fItype\fR. The \fBscf_transaction_commit()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_BACKEND_READONLY\fR\fR .ad @@ -663,7 +609,6 @@ The repository backend is read-only. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_BACKEND_ACCESS\fR\fR .ad @@ -674,7 +619,6 @@ The repository backend refused the modification. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_BOUND\fR\fR .ad @@ -685,7 +629,6 @@ The handle is not bound. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_CONNECTION_BROKEN\fR\fR .ad @@ -696,7 +639,6 @@ The connection to the repository was lost. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_INVALID_ARGUMENT\fR\fR .ad @@ -707,7 +649,6 @@ The transaction is in an invalid state. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_DELETED\fR\fR .ad @@ -718,7 +659,6 @@ The property group the transaction is acting on has been deleted. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_SET\fR\fR .ad @@ -729,7 +669,6 @@ The transaction has not been started. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_PERMISSION_DENIED\fR\fR .ad @@ -740,7 +679,6 @@ The user does not have sufficient privileges to modify the property group. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NO_RESOURCES\fR\fR .ad @@ -761,13 +699,13 @@ The \fBscf_error\fR(3SCF) function can be used to retrieve the error value. tx = scf_transaction_create(handle); e1 = scf_entry_create(handle); v1 = scf_value_create(handle); - + do { if (scf_pg_update(pg) == -1) goto fail; if (scf_transaction_start(tx, pg) == -1) goto fail; - + /* set up transaction entries */ if (scf_transaction_property_change(tx, e1, "property", SCF_TYPE_BOOLEAN) == -1) { @@ -777,17 +715,17 @@ do { scf_value_set_boolean(v1, 1); scf_entry_add_value(e1, v1); - + result = scf_transaction_commit(tx); - + scf_transaction_reset(tx); } while (result == 0); - + if (result < 0) goto fail; - + /* success */ - + cleanup: scf_transaction_destroy(tx); scf_entry_destroy(e1); @@ -803,15 +741,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 diff --git a/usr/src/man/man3scf/scf_value_create.3scf b/usr/src/man/man3scf/scf_value_create.3scf index a340c3ae88..d1662df58a 100644 --- a/usr/src/man/man3scf/scf_value_create.3scf +++ b/usr/src/man/man3scf/scf_value_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_value_create 3SCF "28 May 2009" "SunOS 5.11" "Service Configuration Facility Library Functions" +.TH SCF_VALUE_CREATE 3SCF "May 28, 2009" .SH NAME scf_value_create, scf_value_handle, scf_value_reset, scf_value_destroy, scf_value_type, scf_value_base_type, scf_value_is_type, scf_type_base_type, @@ -17,7 +17,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_value_t *\fR\fBscf_value_create\fR(\fBscf_handle_t *\fR\fIh\fR); @@ -173,32 +173,30 @@ value's type). .sp .TS -tab(); -cw(1.8i) cw(.84i) cw(2.86i) -lw(1.8i) lw(.84i) lw(2.86i) -. -Type IdentifierBase TypeType Description +c c c +l l l . +Type Identifier Base Type Type Description _ -\fBSCF_TYPE_INVALID\fRreserved invalid type -\fBSCF_TYPE_BOOLEAN\fRsingle bit -\fBSCF_TYPE_COUNT\fRunsigned 64-bit quantity -\fBSCF_TYPE_INTEGER\fRsigned 64-bit quantity -\fBSCF_TYPE_TIME\fRT{ +\fBSCF_TYPE_INVALID\fR reserved invalid type +\fBSCF_TYPE_BOOLEAN\fR single bit +\fBSCF_TYPE_COUNT\fR unsigned 64-bit quantity +\fBSCF_TYPE_INTEGER\fR signed 64-bit quantity +\fBSCF_TYPE_TIME\fR T{ signed 64-bit seconds, signed 32-bit nanoseconds in the range 0 <= \fIns\fR < 1,000,000,000 T} -\fBSCF_TYPE_ASTRING\fR8-bit NUL-terminated string -\fBSCF_TYPE_OPAQUE\fRopaque 8-bit data -\fBSCF_TYPE_USTRING\fR\fBASTRING\fR8-bit UTF-8 string -\fBSCF_TYPE_URI\fR\fBUSTRING\fRa URI string -\fBSCF_TYPE_FMRI\fR\fBURI\fRa Fault Management Resource Identifier -\fBSCF_TYPE_HOST\fR\fBUSTRING\fRT{ +\fBSCF_TYPE_ASTRING\fR 8-bit NUL-terminated string +\fBSCF_TYPE_OPAQUE\fR opaque 8-bit data +\fBSCF_TYPE_USTRING\fR \fBASTRING\fR 8-bit UTF-8 string +\fBSCF_TYPE_URI\fR \fBUSTRING\fR a URI string +\fBSCF_TYPE_FMRI\fR \fBURI\fR a Fault Management Resource Identifier +\fBSCF_TYPE_HOST\fR \fBUSTRING\fR T{ either a hostname, IPv4 address, or IPv6 address T} -\fBSCF_TYPE_HOSTNAME\fR\fBHOST\fRa fully-qualified domain name -\fBSCF_TYPE_NET_ADDR_V4\fR\fBHOST\fRT{ +\fBSCF_TYPE_HOSTNAME\fR \fBHOST\fR a fully-qualified domain name +\fBSCF_TYPE_NET_ADDR_V4\fR \fBHOST\fR T{ a dotted-quad IPv4 address with optional network portion T} -\fBSCF_TYPE_NET_ADDR_V6\fR\fBHOST\fRlegal IPv6 address +\fBSCF_TYPE_NET_ADDR_V6\fR \fBHOST\fR legal IPv6 address .TE .sp @@ -271,34 +269,28 @@ bytes written. Otherwise, it returns -1. The \fBscf_value_create()\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 \fIh\fR has been destroyed. .RE .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_INVALID_ARGUMENT\fR\fR .ad .RS 30n -.rt The handle 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_value_t\fR. .RE @@ -307,12 +299,10 @@ There is not enough memory to allocate an \fBscf_value_t\fR. The \fBscf_value_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 \fIv\fR has been destroyed. .RE @@ -321,12 +311,10 @@ The handle associated with \fIv\fR has been destroyed. The \fBscf_value_set_time()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_INVALID_ARGUMENT\fR\fR .ad .RS 30n -.rt The nanoseconds field is not in the range 0 <= \fIns\fR < 1,000,000,000. .RE @@ -335,12 +323,10 @@ The nanoseconds field is not in the range 0 <= \fIns\fR < 1,000,000,000. The \fBscf_type_base_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 @@ -351,12 +337,10 @@ The \fBscf_value_set_astring()\fR, \fBscf_value_set_ustring()\fR, will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_INVALID_ARGUMENT\fR\fR .ad .RS 30n -.rt The \fIin\fR argument is not a valid value for the specified type or is longer than the maximum supported value length. .RE @@ -367,12 +351,10 @@ The \fBscf_type_base_type()\fR, \fBscf_value_is_type()\fR, and \fBscf_value_get_as_string_typed()\fR functions 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 @@ -386,12 +368,10 @@ The \fBscf_value_type()\fR, \fBscf_value_base_type()\fR, functions will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_SET\fR\fR .ad .RS 21n -.rt The \fIv\fR argument has not been set to a value. .RE @@ -403,12 +383,10 @@ The \fBscf_value_get_boolean()\fR, \fBscf_value_get_count()\fR, \fBscf_value_get_as_string_typed()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_TYPE_MISMATCH\fR\fR .ad .RS 27n -.rt The requested type is not the same as the value's type and is not in the base-type chain. .RE @@ -424,15 +402,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 diff --git a/usr/src/man/man3scf/smf_enable_instance.3scf b/usr/src/man/man3scf/smf_enable_instance.3scf index 1e40fbaa52..6e8663f77f 100644 --- a/usr/src/man/man3scf/smf_enable_instance.3scf +++ b/usr/src/man/man3scf/smf_enable_instance.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 smf_enable_instance 3SCF "5 Nov 2007" "SunOS 5.11" "Service Configuration Facility Library Functions" +.TH SMF_ENABLE_INSTANCE 3SCF "Nov 5, 2007" .SH NAME smf_enable_instance, smf_disable_instance, smf_refresh_instance, smf_restart_instance, smf_maintain_instance, smf_degrade_instance, @@ -12,7 +12,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> \fBint\fR \fBsmf_enable_instance\fR(\fBconst char *\fR\fIinstance\fR, \fBint\fR \fIflags\fR); @@ -140,7 +140,6 @@ Otherwise, it returns \fINULL\fR. These functions will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NO_MEMORY\fR\fR .ad @@ -151,7 +150,6 @@ The memory allocation failed. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_INVALID_ARGUMENT\fR\fR .ad @@ -162,7 +160,6 @@ The \fIinstance\fR FMRI or \fIflags\fR argument is invalid. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NOT_FOUND\fR\fR .ad @@ -173,7 +170,6 @@ The FMRI is valid but there is no matching instance found. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_CONNECTION_BROKEN\fR\fR .ad @@ -184,7 +180,6 @@ The connection to repository was broken. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_NO_RESOURCES\fR\fR .ad @@ -200,7 +195,6 @@ The \fBsmf_maintain_instance()\fR, \fBsmf_refresh_instance()\fR, \fBsmf_restore_instance()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_PERMISSION_DENIED\fR\fR .ad @@ -211,7 +205,6 @@ User does not have proper authorizations. See \fBsmf_security\fR(5). .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_BACKEND_ACCESS\fR\fR .ad @@ -222,7 +215,6 @@ The repository's backend refused access. .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_BACKEND_READONLY\fR\fR .ad @@ -237,7 +229,6 @@ The \fBsmf_restore_instance()\fR and \fBsmf_degrade_instance()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBSCF_ERROR_CONSTRAINT_VIOLATED\fR\fR .ad @@ -257,15 +248,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 |