Go to main content

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

Exit Print View

Updated: Thursday, June 13, 2019
 
 

modlinkage(9S)

Name

modlinkage - module linkage structure

Synopsis

#include <sys/modctl.h> 

Interface Level

Solaris DDI specific (Solaris DDI)

Description

The modlinkage structure is provided by the module writer to the routines that install, remove, and retrieve information from a module. See _init(9E), _fini(9E), and _info(9E).

Structure Members

int    ml_rev
void   *ml_linkage[4];
ml_rev

Is the revision of the loadable modules system. This must have the value MODREV_1 .

ml_linkage

Is a null-terminated array of pointers to linkage structures. Driver modules have only one linkage structure.

See Also

add_drv(8), _fini(9E), _info(9E), _init(9E), modldrv(9S), modlstrmod(9S)

Writing Device Drivers in Oracle Solaris 11.4