Data Structures for Drivers modlinkage(9S)
NAME
modlinkage - module linkage structure
SYNOPSIS
#include
INTERFACE LEVEL
Solaris DI specific (Solaris DI)
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 mlrev
void *mllinkage[4];
mlrev Is the revision of the loadable modules sys-
tem. This must have the value MODREV1 .
mllinkage Is a null-terminated array of pointers to
linkage structures. Driver modules have only
one linkage structure.
SEE ALSO
adddrv(1M), fini(9E), info(9E), init(9E), modldrv(9S),
modlstrmod(9S)
Writing Device Drivers
SunOS 5.11 Last change: 18 Sep 1992 1
|