Specifications

System Macros Invoked by Drivers
$VEC
$VEC
Defines an entry in a port driver vector table within the context of a $VECINI
macro.
Format
$VEC entry, routine
Parameters
entry
Name of the vector table entry, specified without the PORT_ prefix.
routine
Name of the service routine within the driver that corresponds to the entry point.
Description
A terminal port driver uses the $VEC macro to validate and generate a vector
table entry. A driver need not invoke the $VEC macro to associate a routine with
each entry in the vector table. The $VECINI macro initializes all unspecified
entry points with the address of the drivers null entry point.
To use the $VEC macro, the driver must include an invocation of the $TTYMACS
definition macro (from SYS$LIBRARY:LIB.MLB). See the description of the
$VECINI macro for an example of creating a port driver vector table.
2–103