8354 sync regcomp(3C) with upstream (fix make catalog)
[unleashed/tickless.git] / usr / src / man / man9s / streamtab.9s
blob82d479a4965ef235f8044eec3570c27ef78bacac
1 '\" te
2 .\" Copyright (c) 2000, Sun Microsystems, Inc. All Rights Reserved.
3 .\" Copyright 1989 AT&T
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 STREAMTAB 9S "Apr 11, 1991"
8 .SH NAME
9 streamtab \- STREAMS entity declaration structure
10 .SH SYNOPSIS
11 .LP
12 .nf
13 #include <sys/stream.h>
14 .fi
16 .SH INTERFACE LEVEL
17 .sp
18 .LP
19 Architecture independent level 1 (DDI/DKI).
20 .SH DESCRIPTION
21 .sp
22 .LP
23 Each STREAMS driver or module must have a \fBstreamtab\fR structure.
24 .sp
25 .LP
26 \fBstreamtab\fR is made up of \fBqinit\fR structures for both the read and
27 write queue portions of each module or driver. Multiplexing drivers require
28 both upper and lower \fBqinit\fR structures. The \fBqinit\fR structure contains
29 the entry points through which the module or driver routines are called.
30 .sp
31 .LP
32 Normally, the read \fBQUEUE\fR contains the \fBopen\fR and \fBclose\fR
33 routines. Both the read and write queue can contain \fBput\fR and service
34 procedures.
35 .SH STRUCTURE MEMBERS
36 .sp
37 .in +2
38 .nf
39 struct qinit    *st_rdinit;    /* read QUEUE */
40 struct qinit    *st_wrinit;    /* write QUEUE */
41 struct qinit    *st_muxrinit;  /* lower read QUEUE*/
42 struct qinit    *st_muxwinit;  /* lower write QUEUE*/
43 .fi
44 .in -2
46 .SH SEE ALSO
47 .sp
48 .LP
49 \fBqinit\fR(9S)
50 .sp
51 .LP
52 \fISTREAMS Programming Guide\fR