Print this page
10229 Some man pages have incorrect cross-references
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/man/man9s/qinit.9s
+++ new/usr/src/man/man9s/qinit.9s
1 1 .\" Copyright (c) 2000, Sun Microsystems, Inc. All Rights Reserved.
2 2 .\" Copyright 1989 AT&T
3 3 .\" The contents of this file are subject to the terms of the
4 4 .\" Common Development and Distribution License (the "License").
5 5 .\" You may not use this file except in compliance with the License.
6 6 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
7 7 .\" or http://www.opensolaris.org/os/licensing.
8 8 .\" See the License for the specific language governing permissions and
9 9 .\" limitations under the License.
10 10 .\" When distributing Covered Code, include this CDDL HEADER in each file
11 11 .\" and include the License file at usr/src/OPENSOLARIS.LICENSE.
12 12 .\" If applicable, add the following below this CDDL HEADER, with the
13 13 .\" fields enclosed by brackets "[]" replaced with your own identifying
14 14 .\" information: Portions Copyright [yyyy] [name of copyright owner]
15 15 .Dd Oct 17, 2018
16 16 .Dt QINIT 9S
17 17 .Os
18 18 .Sh NAME
19 19 .Nm qinit
20 20 .Nd STREAMS queue processing procedures structure
21 21 .Sh SYNOPSIS
22 22 .In sys/stream.h
23 23 .Sh INTERFACE LEVEL
24 24 .Sy Architecture independent level 1 (DDI/DKI)
25 25 .Sh DESCRIPTION
26 26 The
27 27 .Nm
28 28 structure contains pointers to processing procedures for a
29 29 .Sy QUEUE .
30 30 The
31 31 .Sy streamtab
32 32 structure for the module or driver contains
33 33 pointers to one
34 34 .Xr queue 9S
35 35 structure for both upstream and downstream processing.
36 36 .Sh STRUCTURE MEMBERS
37 37 The
38 38 .Nm
39 39 structure includes the following members:
40 40 .Bd -literal -offset indent
41 41
42 42 typedef int (*qi_putp_t)(queue_t *, mblk_t *);
43 43 typedef int (*qi_srvp_t)(queue_t *);
44 44 typedef int (*qi_qopen_t)(queue_t *, dev_t *, int, int, cred_t *);
45 45 typedef int (*qi_qclose_t)(queue_t *, int, cred_t *);
46 46 typedef int (*qi_qadmin_t)(void);
47 47 typedef int (*qi_rwp_t)(queue_t *, struiod_t *);
48 48 typedef int (*qi_infop_t)(queue_t *, infod_t *);
49 49
50 50 struct qinit {
51 51 qi_putp_t qi_putp; /* put procedure */
52 52 qi_srvp_t qi_srvp; /* service procedure */
53 53 qi_qopen_t qi_qopen; /* called on startup */
54 54 qi_qclose_t qi_qclose; /* called on finish */
55 55 qi_qadmin_t qi_qadmin; /* for future use */
56 56 struct module_info *qi_minfo; /* module information */
↓ open down ↓ |
56 lines elided |
↑ open up ↑ |
57 57 struct module_stat *qi_mstat; /* module statistics */
58 58 qi_rwp_t qi_rwp; /* r/w procedure */
59 59 qi_infop_t qi_infop; /* information procedure */
60 60 int qi_struiot; /* stream uio type for struio() */
61 61 };
62 62 .Ed
63 63 .Sh SEE ALSO
64 64 .Xr queue 9S ,
65 65 .Xr streamtab 9S
66 66 .Pp
67 -.Xr Writing Device Drivers
67 +.%T Writing Device Drivers
68 68 .Pp
69 -.Xr STREAMS Programming Guide
69 +.%T STREAMS Programming Guide
70 70 .Sh NOTES
71 71 This release includes no support for module statistics.
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX