Modifying entry point routines
The entry point routine set for DDI 8
is significantly different from that used
for DDI 7, earlier DDI versions,
and SCO OpenServer 5; see
includes a table that summarizes the changes,
give an overview of the structure of a DDI 8 driver.
To summarize the major changes in the entry point set
beginning with DDI 8:
The same entry point routines are used
for block and character drivers.
entry point routines have the same syntax and behavior
for STREAMS and non-STREAMS drivers.
The named entry point scheme used for
SCO OpenServer 5 and pre-DDI 8 drivers
has been replaced
that point to the entry point routines.
DDI entry point routines should return 0 on success.
If an error occurs,
the entry point should return an error number
from those listed on the
rather than setting errors in the
The one exception is the
entry point routine,
which does not return anything,
but instead sets error information in the
b_error member of the buf structure.
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005