5155 NIGHTLY_OPTIONS last argument should be unquoted
[illumos-gate.git] / usr / src / man / man9s / modlinkage.9s
blob99de328aa77fe7bc7eecf48b1461327b019bb55c
1 '\" te
2 .\"  Copyright (c) 2000, Sun Microsystems, Inc.,  All Rights Reserved
3 .\" 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.
4 .\" 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.
5 .\" 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]
6 .TH MODLINKAGE 9S "Sep 18, 1992"
7 .SH NAME
8 modlinkage \- module linkage structure
9 .SH SYNOPSIS
10 .LP
11 .nf
12 #include <sys/modctl.h>
13 .fi
15 .SH INTERFACE LEVEL
16 .sp
17 .LP
18 Solaris DDI specific (Solaris DDI)
19 .SH DESCRIPTION
20 .sp
21 .LP
22 The \fBmodlinkage\fR structure is provided by the module writer to the routines
23 that install, remove, and retrieve information from a module. See
24 \fB_init\fR(9E), \fB_fini\fR(9E), and \fB_info\fR(9E).
25 .SH STRUCTURE MEMBERS
26 .sp
27 .in +2
28 .nf
29 int    ml_rev
30 void   *ml_linkage[4];
31 .fi
32 .in -2
34 .sp
35 .ne 2
36 .na
37 \fB\fBml_rev\fR \fR
38 .ad
39 .RS 15n
40 Is the revision of the loadable modules system.  This must have the value
41 \fBMODREV_1\fR .
42 .RE
44 .sp
45 .ne 2
46 .na
47 \fB\fBml_linkage\fR \fR
48 .ad
49 .RS 15n
50 Is a null-terminated array of pointers to linkage structures. Driver modules
51 have only one linkage structure.
52 .RE
54 .SH SEE ALSO
55 .sp
56 .LP
57 \fBadd_drv\fR(1M), \fB_fini\fR(9E), \fB_info\fR(9E), \fB_init\fR(9E),
58 \fBmodldrv\fR(9S), \fBmodlstrmod\fR(9S)
59 .sp
60 .LP
61 \fIWriting Device Drivers\fR