9022 loader.efi: module placement must check memory map
[unleashed.git] / share / man / man9f / qenable.9f
blob245eca50aa87f8493382152bef5f3aea567ddbe0
1 '\" te
2 .\"  Copyright 1989 AT&T
3 .\"  Copyright (c) 2006, Sun Microsystems, Inc.,  All Rights Reserved
4 .\" 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.
5 .\" 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.
6 .\" 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]
7 .TH QENABLE 9F "Jan 16, 2006"
8 .SH NAME
9 qenable \- enable a queue
10 .SH SYNOPSIS
11 .LP
12 .nf
13 #include <sys/stream.h>
14 #include <sys/ddi.h>
18 \fBvoid\fR \fBqenable\fR(\fBqueue_t *\fR\fIq\fR);
19 .fi
21 .SH INTERFACE LEVEL
22 .sp
23 .LP
24 Architecture independent level 1 (DDI/DKI).
25 .SH PARAMETERS
26 .sp
27 .ne 2
28 .na
29 \fB\fIq\fR\fR
30 .ad
31 .RS 5n
32 Pointer to the queue to be enabled.
33 .RE
35 .SH DESCRIPTION
36 .sp
37 .LP
38 The \fBqenable()\fR function adds the queue pointed to by  \fIq\fR to the list
39 of queues whose service routines are ready to be called by the STREAMS
40 scheduler.
41 .SH CONTEXT
42 .sp
43 .LP
44 The \fBqenable()\fR function can be called from user, interrupt, or kernel
45 context.
46 .SH EXAMPLES
47 .sp
48 .LP
49 See the \fBdupb\fR(9F) function page for an example of the \fBqenable()\fR.
50 .SH SEE ALSO
51 .sp
52 .LP
53 \fBdupb\fR(9F)
54 .sp
55 .LP
56 \fIWriting Device Drivers\fR
57 .sp
58 .LP
59 \fISTREAMS Programming Guide\fR