1modlmisc(9S) Data Structures for Drivers modlmisc(9S)
2
3
4
6 modlmisc - linkage structure for loadable miscellaneous modules
7
9 #include <sys/modctl.h>
10
11
13 Solaris DDI specific (Solaris DDI).
14
16 The modlmisc structure is used by miscellaneous modules to export mod‐
17 ule specific information to the kernel.
18
20 struct mod_ops *misc_modops;
21 char *misc_linkinfo;
22
23
24 misc_modops Must always be initialized to the address of mod_mis‐
25 cops. This member identifies the module as a loadable
26 miscellaneous module.
27
28
29 misc_linkinfo Can be any string up to MODMAXNAMELEN characters
30 (including the terminating NULL characters), and is
31 used to describe the module, but can also contain
32 other information (such as a version number).
33
34
36 modload(1M), modlinkage(9S)
37
38
39
40SunOS 5.11 6 Nov 2007 modlmisc(9S)