summaryrefslogtreecommitdiff
path: root/usr/src/man/man3c/door_getparam.3c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/man/man3c/door_getparam.3c')
-rw-r--r--usr/src/man/man3c/door_getparam.3c39
1 files changed, 7 insertions, 32 deletions
diff --git a/usr/src/man/man3c/door_getparam.3c b/usr/src/man/man3c/door_getparam.3c
index 0c2bddf96e..969a8a61ba 100644
--- a/usr/src/man/man3c/door_getparam.3c
+++ b/usr/src/man/man3c/door_getparam.3c
@@ -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 door_getparam 3C "22 Mar 2005" "SunOS 5.11" "Standard C Library Functions"
+.TH DOOR_GETPARAM 3C "Mar 22, 2005"
.SH NAME
door_getparam, door_setparam \- retrieve and set door parameters
.SH SYNOPSIS
@@ -30,12 +30,10 @@ descriptor \fId\fR to \fIval\fR. The \fIparam\fR argument names the parameter
to view or change and can be one of the following values:
.sp
.ne 2
-.mk
.na
\fB\fBDOOR_PARAM_DATA_MAX\fR\fR
.ad
.RS 23n
-.rt
This parameter represents the maximum amount of data that can be passed to the
door routine. Any attempt to call \fBdoor_call\fR(3C) on a door with a
\fIdata_size\fR value larger than the door's \fBDOOR_PARAM_DATA_MAX\fR
@@ -47,12 +45,10 @@ is initialized to \fBSIZE_MAX\fR and can be set to any value from 0 to
.sp
.ne 2
-.mk
.na
\fB\fBDOOR_PARAM_DATA_MIN\fR\fR
.ad
.RS 23n
-.rt
This parameter represents the the minimum amount of data that can be passed to
the door routine. Any attempt to call \fBdoor_call\fR(3C) on a door with a
\fIdata_size\fR value smaller than the door's \fBDOOR_PARAM_DATA_MIN\fR
@@ -64,12 +60,10 @@ inclusive. This parameter must be less than or equal to the
.sp
.ne 2
-.mk
.na
\fB\fBDOOR_PARAM_DESC_MAX\fR\fR
.ad
.RS 23n
-.rt
This parameter represents the the maximum number of argument descriptors that
can be passed to the door routine. Any attempt to call \fBdoor_call\fR(3C) on a
door with a \fIdesc_nu\fRm value larger than the door's
@@ -94,45 +88,37 @@ Upon successful completion, 0 is returned. Otherwise, -1 is returned and
The \fBdoor_getparam()\fR function will fail if:
.sp
.ne 2
-.mk
.na
\fB\fBEBADF\fR\fR
.ad
.RS 13n
-.rt
The \fId\fR argument is not a door descriptor.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEFAULT\fR\fR
.ad
.RS 13n
-.rt
The \fIout\fR argument is not a valid address.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEINVAL\fR\fR
.ad
.RS 13n
-.rt
The \fIparam\fR argument is not a recognized parameter.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEOVERFLOW\fR\fR
.ad
.RS 13n
-.rt
The value of the parameter is larger than the \fBSIZE_MAX\fR. This condition
can occur only if the calling process is 32-bit and the door targets a 64-bit
process or the kernel.
@@ -143,58 +129,48 @@ process or the kernel.
The \fBdoor_setparam()\fR function will fail if:
.sp
.ne 2
-.mk
.na
\fB\fBEBADF\fR\fR
.ad
.RS 11n
-.rt
The \fId\fR argument is not a door descriptor or has been revoked.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEINVAL\fR\fR
.ad
.RS 11n
-.rt
The \fIparam\fR argument is not a recognized parameter, or the requested change
would make \fBDOOR_PARAM_DATA_MIN\fR greater than \fBDOOR_PARAM_DATA_MAX\fR.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBENOTSUP\fR\fR
.ad
.RS 11n
-.rt
The \fIparam\fR argument is \fBDOOR_PARAM_DESC_MAX\fR, \fId\fR was created with
the \fBDOOR_REFUSE_DESC\fR flag, and \fIval\fR is not zero.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEPERM\fR\fR
.ad
.RS 11n
-.rt
The \fId\fR argument was not created by this process.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBERANGE\fR\fR
.ad
.RS 11n
-.rt
The \fIval\fR argument is not in supported range of \fIparam\fR.
.RE
@@ -234,15 +210,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 StabilityStable
+Interface Stability Stable
_
-MT-LevelMT-Safe
+MT-Level MT-Safe
.TE
.SH SEE ALSO