DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

Stubs.c(DSP)


Stubs.c -- stubs for kernel module symbols

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(ADM) 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(ADM)
02 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 02 June 2005