Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
modlinkage(9S)		  Data Structures for Drivers		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 rou-
       tines 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(1M),  _fini(9E),	 _info(9E),  _init(9E),	 modldrv(9S), modlstr-
       mod(9S)

       Writing Device Drivers

SunOS 5.9			  18 Sep 1992			modlinkage(9S)

NAME | SYNOPSIS | INTERFACE LEVEL | DESCRIPTION | STRUCTURE MEMBERS | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=modlinkage&sektion=9s&manpath=SunOS+5.9>

home | help