DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
DDI: 8 sample driver

Space.c file

The samp driver's Space.c(DSP/4dsp) file is shown in sample 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:


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