Specifications

Operating System Routines
EXE$WRITECHK, EXE$WRITECHKR
If the buffer does not allow read access, EXE$WRITECHKR returns
SS$_ACCVIO status to its caller.
If the initial call was to EXE$WRITECHK, and EXE$WRITECHKR returns error
status, EXE$WRITECHK transfers control to EXE$ABORTIO to terminate the
I/O request. If the initial call was to EXE$WRITECHKR, and an error occurs,
EXE$WRITECHKR returns control to the driver. Otherwise, these routines
return success status to their callers.
A driver FDT routine that calls EXE$WRITECHKR must distinguish between
successful and unsuccessful status when it resumes, as shown in the following
example:
JSB G^EXE$WRITECHKR
BLBS R0,BUF_ACCESS_OK
BUF_ACCESS_FAIL:
;
; clean up this $QIO bookkeeping
;
JSB G^EXE$ABORTIO
BUF_ACCESS_OK:
.
.
.
;
;continue processing this I/O request
;
3–64