xref: /titanic_44/usr/src/man/man9s/modlmisc.9s (revision bde3d612a7c090234c60e6e4578821237a5db135)
te
Copyright (c) 2007 Sun Microsystems, Inc., All Rights Reserved
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
MODLMISC 9S "Nov 6, 2007"
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)