(GCOS-8 Only)
#include <t.drls.h> extern unsigned sy_reg[8];
drldrl( drlno[, drlarg]* )
"drldrl()" gives the TSS programmer direct access to the operating system functions. For most applications there is no need for this since there are utility routines in the library that execute DRL instructions as appropriate.
#include <t.drls.h> #include <stdio.h> #include <stdlib.h> main() { auto int dinfo[9]; drldrl(T_CFIO, ((unsigned)dinfo) | 3); if (dinfo[7]) printf("Next drun is %5_s for userid %.12_s\n", (void *)&dinfo[7], (void *)&dinfo[3]); exit(0); }
The include file <t.drls.h> also defines the DRL names, using the "t." names (as produced by the T.DRLS GMAP macro), with the name in uppercase, and the '.' replaced by an underscore (e.g. T_DIO).
Copyright © 1996, Thinkage Ltd.