Stubs.c(4) Stubs.c(4)
NAME
Stubs.c - stubs for kernel module symbols
SYNOPSIS
Stubs.c
DESCRIPTION
One of the Installable Driver/Tunable Parameters kernel
configuration files, a Stubs.c file is an optional C language
source file that can be installed and compiled into the system
as a ``place holder'' for a kernel module that will not be
installed in the system. Its purpose is to enable the kernel
to resolve references to the absent module's symbols.
When the Stubs.c component of a module's Driver Software
Package (DSP) is installed, idinstall(1M) stores the module's
Stubs.c file information in /etc/conf/pack.d/module-
name/stubs.c where module-name is the name of the module being
installed. Package scripts should never access stubs.c files
directly; only the idinstall command should be used.
A module's Stubs.c file contains function name and variable
definition stubs for symbols defined in the module that can be
referenced by other kernel modules being configured into the
system. At compile time, the definitions in the Stubs.c file
give the kernel the ability to resolve references made to the
absent module's symbols.
REFERENCES
idinstall(1M)
Copyright 1994 Novell, Inc. Page 1