summaryrefslogtreecommitdiff
path: root/usr/src/man/man9f/usb_pipe_close.9f
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/man/man9f/usb_pipe_close.9f')
-rw-r--r--usr/src/man/man9f/usb_pipe_close.9f13
1 files changed, 3 insertions, 10 deletions
diff --git a/usr/src/man/man9f/usb_pipe_close.9f b/usr/src/man/man9f/usb_pipe_close.9f
index 571ca577ca..65de310245 100644
--- a/usr/src/man/man9f/usb_pipe_close.9f
+++ b/usr/src/man/man9f/usb_pipe_close.9f
@@ -4,11 +4,10 @@
.\" 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 USB_PIPE_CLOSE 9F "Sep 16, 2016"
+.TH USB_PIPE_CLOSE 9F "December 28, 2020"
.SH NAME
usb_pipe_close \- Close and cleanup a USB device pipe
.SH SYNOPSIS
-.LP
.nf
#include <sys/usb/usba.h>
@@ -22,7 +21,6 @@ usb_pipe_close \- Close and cleanup a USB device pipe
.fi
.SH INTERFACE LEVEL
-.LP
Solaris DDI specific (Solaris DDI)
.SH PARAMETERS
.ne 2
@@ -72,7 +70,6 @@ Second argument to callback function.
.RE
.SH DESCRIPTION
-.LP
The \fBusb_pipe_close()\fR function closes the pipe pointed to by
\fIpipe_handle\fR, releases all related resources and then frees the pipe
handle. This function stops polling if the pipe to be closed is an interrupt-IN
@@ -155,9 +152,8 @@ Error starting asynchronous request.
.RE
.SH RETURN VALUES
-.LP
Status is returned to the caller via the callback handler's rval argument.
-Possible callback hander rval argument values are:
+Possible callback handler rval argument values are:
.sp
.ne 2
.na
@@ -201,7 +197,7 @@ Pipe handle specifies the default control pipe.
.ad
.RS 23n
Asynchronous resources are unavailable. In this case, USB_CB_ASYNC_REQ_FAILED
-is passed in as the \fIcallback_flags\fR arg to the callback hander.
+is passed in as the \fIcallback_flags\fR arg to the callback handler.
.RE
.sp
@@ -215,7 +211,6 @@ Note that messages mirroring the above errors are logged to the console logfile
on error. (This provides status for calls which otherwise could provide
status).
.SH CONTEXT
-.LP
May be called from user or kernel context regardless of arguments. May not be
called from a callback executing in interrupt context. Please see
\fBusb_callback_flags\fR(9S) for more information on callbacks.
@@ -243,7 +238,6 @@ usb_pipe_close(dip, pipe, 0, close_callback, callback_arg);
.in -2
.SH ATTRIBUTES
-.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
@@ -260,7 +254,6 @@ Interface stability Committed
.TE
.SH SEE ALSO
-.LP
\fBattributes\fR(5), \fBusb_get_status\fR(9F), \fBusb_pipe_drain_reqs\fR(9F),
\fBusb_pipe_get_state\fR(9F), \fBusb_pipe_xopen\fR(9F),
\fBusb_pipe_reset\fR(9F), \fBusb_callback_flags\fR(9S)