DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Installing, configuring, and packaging SVR5 drivers

Space.c file

Historically, the Space.c(DSP/4dsp) file defined information about data structures whose size or initial value depend on configurable parameters such as the number of subdevices configured. DDI 8 drivers determine these values dynamically using the autoconfiguration facilities, so most Space.c files are minimal, only defining the MODNAME value that gives the logical name for the driver. A sample Space.c file for a DDI 8 driver is:

   /* Get driver's modname where the driver code can find it. */
   const char samp_modname[] = MODNAME;

© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005