Syntax | #include <stxit.h> void cstxit(struct stxitp stxitpar); | ||||||||||||||||||||||
Description | Description Detailed information on the programming of STXIT routines can be found in the section“Contingency and STXIT routines” and in the manual "Executive Macros" [10 (Related publications)]. The structure of struct stxitp { addr bufadr; /* Adresse der Mitteilung an das Programm (OPINT) */ enum err_set retcode; /* Returncode */ struct cont contp; /* Adresse der STXIT-Routinen */ struct nest nestp; /* max. Schachtelungstiefe */ struct stx stxp; /* Steuerung des cstxit-Aufrufs */ struct diag diagp; /* Diagnosesteuerung */ struct type typep; /* Parameterübergabe-Modus */ }; struct cont /* Adresse der STXIT-Routine für */ { /* die jeweilige Ereignisklasse */ int (*prchk) (); int (*timer) (); int (*opint) (); int (*error) (); int (*runout) (); int (*brkpt) (); int (*abend) (); int (*pterm) (); int (*rtimer) (); }; struct nest /* max. Schachtelungstiefe für */ { /* die jeweilige Ereignisklasse */ char prchk; char timer; char opint; char error; char runout; char brkpt; char abend; char pterm; char rtimer; char filler; }; struct stx /* Steuerung des cstxit-Aufrufs für */ { /* die jeweilige Ereignisklasse */ stx_set prchk; stx_set timer; stx_set opint; stx_set error; stx_set runout; stx_set brkpt; stx_set abend; stx_set pterm; stx_set rtimer; stx_set filler; }; struct diag /* Diagnosesteuerung für die */ { /* jeweilige Ereignisklasse */ diag_set prchk; diag_set timer; diag_set opint; diag_set error; diag_set runout; diag_set brkpt; diag_set abend; diag_set pterm; diag_set rtimer; diag_set filler; }; struct type /* Parameterübergabe-Modus für */ { /* jeweilige Ereignisklasse */ type_set prchk; type_set timer; type_set opint; type_set error; type_set runout; type_set brkpt; type_set abend; type_set pterm; type_set rtimer; type_set filler; }; #define stx_set char #define old_stx 0 #define new_stx 4 #define del_stx 8 #define diag_set char #define ful_diag 0 #define min_diag 4 #define no_diag 8 #define err_set char #define no_err 0 #define par_err 4 #define stx_err 8 #define mem_err 12 #define type_set char #define par_opt 0 #define par_std 4 Control of the This information is used to control the execution of the
Diagnostic control:
Parameter transfer mode:
Return code:
| ||||||||||||||||||||||
Notes | The parameter structure stxitpar must be supplied by the user. To standardize initialization, a defined prototype ( For event class | ||||||||||||||||||||||
See also |
|