man pages section 9: DDI and DKI Properties and Data Structures

Exit Print View

Updated: July 2014
 
 

modlmisc(9S)

Name

modlmisc - linkage structure for loadable miscellaneous modules

Synopsis

#include <sys/modctl.h>

Interface Level

Solaris DDI specific (Solaris DDI).

Description

The modlmisc structure is used by miscellaneous modules to export module specific information to the kernel.

Structure Members


struct mod_ops      *misc_modops;        
char                *misc_linkinfo;     

misc_modops

Must always be initialized to the address of mod_miscops. This member identifies the module as a loadable miscellaneous module.

misc_linkinfo

Can be any string up to MODMAXNAMELEN characters (including the terminating NULL characters), and is used to describe the module, but can also contain other information (such as a version number).

See also

modload(1M), modlinkage(9S)