modlinkage(9S)
NAME
modlinkage − module linkage structure
SYNOPSIS
#include <sys/modctl.h>
DESCRIPTION
The modlinkage structure is provided by the module writer to the routines which install, remove, and retrieve information from a module. See _init(9E), _fini(9E), and _info(9E).
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. For driver modules there is only one linkage structure.
STRUCTURE MEMBERS
| int | ml_rev |
| void | ∗ml_linkage[4]; |
SEE ALSO
add_drv(1M), modldrv(9S), modlstrmod(9S) _fini(9E), _info(9E), _init(9E) SunOS 5.1 Writing Device Drivers
SunOS 5.1/SPARC — Last change: 18 Sep 1992