summaryrefslogtreecommitdiff
path: root/usr/src/man/man3pool
diff options
context:
space:
mode:
authorCody Peter Mello <cody.mello@joyent.com>2016-04-09 23:18:13 +0000
committerRobert Mustacchi <rm@joyent.com>2016-06-20 21:45:48 -0700
commit843c398e8904ed9d833d2af3103894f909fb4b52 (patch)
treec9e224b096ae5fa9242ec0d451dfd15632270c72 /usr/src/man/man3pool
parent0db8de19c0e494758b68b702523a2b0eaffe3b2e (diff)
downloadillumos-joyent-843c398e8904ed9d833d2af3103894f909fb4b52.tar.gz
7042 Fix spelling mistakes in library sections
Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Dan McDonald <danmcd@omniti.com>
Diffstat (limited to 'usr/src/man/man3pool')
-rw-r--r--usr/src/man/man3pool/pool_associate.3pool10
-rw-r--r--usr/src/man/man3pool/pool_component_info.3pool9
-rw-r--r--usr/src/man/man3pool/pool_resource_create.3pool9
3 files changed, 6 insertions, 22 deletions
diff --git a/usr/src/man/man3pool/pool_associate.3pool b/usr/src/man/man3pool/pool_associate.3pool
index 458469779b..c98600fbbc 100644
--- a/usr/src/man/man3pool/pool_associate.3pool
+++ b/usr/src/man/man3pool/pool_associate.3pool
@@ -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 POOL_ASSOCIATE 3POOL "Jul 18, 2005"
+.TH POOL_ASSOCIATE 3POOL "April 9, 2016"
.SH NAME
pool_associate, pool_create, pool_destroy, pool_dissociate, pool_info,
pool_query_pool_resources \- resource pool manipulation functions
@@ -46,7 +46,6 @@ cc [ \fIflag\fR\&.\|.\|. ] \fIfile\fR\&.\|.\|. \fB-lpool\fR [ \fIlibrary\fR\&.\|
.fi
.SH DESCRIPTION
-.sp
.LP
These functions provide mechanisms for constructing and modifying pools entries
within a target pools configuration. The \fIconf\fR argument for each function
@@ -74,7 +73,7 @@ default resource of the same type.
.sp
.LP
The \fBpool_info()\fR function returns a string describing the given pool. The
-string is allocated with \fBmalloc\fR(3C). The caller is reponsible for freeing
+string is allocated with \fBmalloc\fR(3C). The caller is responsible for freeing
the returned string. If the \fIflags\fR option is non-zero, the string returned
also describes the associated resources of the pool.
.sp
@@ -84,7 +83,6 @@ of resources currently associated with the pool that match the given list of
properties. The return value must be freed by the caller. The \fInelem\fR
argument is set to be the length of the array returned.
.SH RETURN VALUES
-.sp
.LP
Upon successful completion, \fBpool_create()\fR returns a new initialized pool.
Otherwise it returns \fINULL\fR and \fBpool_error\fR(3POOL) returns the
@@ -105,7 +103,6 @@ Upon successful completion, \fBpool_query_pool_resources()\fR returns a
null-terminated array of resources. Otherwise it returns \fINULL\fR and
\fBpool_error()\fR returns the pool-specific error value.
.SH ERRORS
-.sp
.LP
The \fBpool_create()\fR function will fail if:
.sp
@@ -275,13 +272,11 @@ A system error has occurred. Check the system error code for more details.
.RE
.SH USAGE
-.sp
.LP
Pool names are unique across pools in a given configuration file. It is an
error to attempt to create a pool with a name that is currently used by another
pool within the same configuration.
.SH ATTRIBUTES
-.sp
.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
@@ -301,6 +296,5 @@ MT-Level Safe
.TE
.SH SEE ALSO
-.sp
.LP
\fBlibpool\fR(3LIB), \fBpool_error\fR(3POOL), \fBattributes\fR(5)
diff --git a/usr/src/man/man3pool/pool_component_info.3pool b/usr/src/man/man3pool/pool_component_info.3pool
index 53e53f0497..12b90c4b07 100644
--- a/usr/src/man/man3pool/pool_component_info.3pool
+++ b/usr/src/man/man3pool/pool_component_info.3pool
@@ -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 POOL_COMPONENT_INFO 3POOL "Sep 23, 2003"
+.TH POOL_COMPONENT_INFO 3POOL "April 9, 2016"
.SH NAME
pool_component_info, pool_get_owning_resource \- resource pool component
functions
@@ -24,7 +24,6 @@ cc [ \fIflag\fR\&.\|.\|. ] \fIfile\fR\&.\|.\|. \fB-lpool\fR [ \fIlibrary\fR\&.\|
.fi
.SH DESCRIPTION
-.sp
.LP
Certain resources, such as processor sets, are composed of resource components.
Informational and ownership attributes of resource components are made
@@ -35,14 +34,13 @@ function refers to the target configuration to which the operation applies.
.LP
The \fBpool_component_info()\fR function returns a string describing
\fIcomponent\fR. The string is allocated with \fBmalloc\fR(3C). The caller is
-reponsible for freeing the returned string. The \fIflags\fR argument is
+responsible for freeing the returned string. The \fIflags\fR argument is
ignored.
.sp
.LP
The \fBpool_get_owning_resource()\fR function returns the resource currently
containing \fIcomponent\fR. Every component is contained by a resource.
.SH RETURN VALUES
-.sp
.LP
Upon successful completion, \fBpool_component_info()\fR returns a string.
Otherwise it returns \fINULL\fR and \fBpool_error\fR(3POOL) returns the
@@ -53,7 +51,6 @@ Upon successful completion, \fBpool_get_owning_resource()\fR returns the owning
resource. Otherwise it returns \fINULL\fR and \fBpool_error()\fR returns the
pool-specific error value.
.SH ERRORS
-.sp
.LP
The \fBpool_component_info()\fR function will fail if:
.sp
@@ -97,7 +94,6 @@ The supplied configuration's status is not \fBPOF_VALID\fR.
.RE
.SH ATTRIBUTES
-.sp
.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
@@ -117,6 +113,5 @@ MT-Level Safe
.TE
.SH SEE ALSO
-.sp
.LP
\fBlibpool\fR(3LIB), \fBpool_error\fR(3POOL), \fBattributes\fR(5)
diff --git a/usr/src/man/man3pool/pool_resource_create.3pool b/usr/src/man/man3pool/pool_resource_create.3pool
index 62813a02d5..f62e5103b1 100644
--- a/usr/src/man/man3pool/pool_resource_create.3pool
+++ b/usr/src/man/man3pool/pool_resource_create.3pool
@@ -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 POOL_RESOURCE_CREATE 3POOL "Sep 23, 2003"
+.TH POOL_RESOURCE_CREATE 3POOL "April 9, 2016"
.SH NAME
pool_resource_create, pool_resource_destroy, pool_resource_info,
pool_query_resource_components, pool_resource_transfer, pool_resource_xtransfer
@@ -52,7 +52,6 @@ cc [ \fIflag\fR\&.\|.\|. ] \fIfile\fR\&.\|.\|. \fB-lpool\fR [ \fIlibrary\fR\&.\|
.fi
.SH DESCRIPTION
-.sp
.LP
The \fBpool_resource_create()\fR function creates and returns a new resource of
the given \fIname\fR and \fItype\fR in the provided configuration. If there is
@@ -65,7 +64,7 @@ from its configuration file.
.LP
The \fBpool_resource_info()\fR function returns a string describing the given
\fIresource\fR. The string is allocated with \fBmalloc\fR(3C). The caller is
-reponsible for freeing the returned string. If the \fIflags\fR argument is
+responsible for freeing the returned string. If the \fIflags\fR argument is
non-zero, the string returned also describes the components (if any) contained
in the resource.
.sp
@@ -92,7 +91,6 @@ list of \fBpool_component_t\fR.
The \fIconf\fR argument for each function refers to the target configuration to
which the operation applies.
.SH RETURN VALUES
-.sp
.LP
Upon successful completion, \fBpool_resource_create()\fR returns a new
\fBpool_resource_t\fR with default properties initialized. Otherwise,
@@ -121,7 +119,6 @@ pool-specific error value.
\fBpool_resource_xtransfer()\fR return 0. Otherwise -1 is returned and
\fBpool_error()\fR returns the pool-specific error value.
.SH ERRORS
-.sp
.LP
The \fBpool_resource_create()\fR function will fail if:
.sp
@@ -314,7 +311,6 @@ if ((resource = pool_resource_create(conf, "pset",
.in -2
.SH ATTRIBUTES
-.sp
.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
@@ -334,6 +330,5 @@ MT-Level Safe
.TE
.SH SEE ALSO
-.sp
.LP
\fBlibpool\fR(3LIB), \fBpool_error\fR(3POOL), \fBattributes\fR(5)