NAME
        SetIoErr -- Sets the value returned by ioerr() (v36)
   SYNOPSIS
        oldcode = SetIoErr(code)
        D0                  D1
        long setioerr(long);
   FUNCTION
        This routine sets up the secondary result (pr_Result2) return code
        (returned by the ioerr() function).
   INPUTS
        code - Code to be returned by a call to ioerr.
   RESULT
        oldcode - The previous error code.
   SEE ALSO
        ioerr(), fault(), printfault()