Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 741 Bytes

PrintFault.md

File metadata and controls

32 lines (20 loc) · 741 Bytes

NAME

PrintFault -- Returns the text associated with a DOS error code (V36)

SYNOPSIS

    success = PrintFault(code, header)
    D0                    D1     D2

    BOOL PrintFault(LONG, STRPTR)

FUNCTION

This routine obtains the error message text for the given error code. This is similar to the Fault function, except that the output is written to the default output channel with buffered output. The value returned by IoErr is set to the code passed in.

INPUTS

code - Error code header - header to output before error text

RESULT success - Success/failure code.

SEE ALSO

IoErr, Fault, SetIoErr, Output, FPuts