DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

Stubs.c(4dsp)


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(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)
25 April 2004
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004