[Contents] [Index] [Help] [Retrace] [browse <] [Browse >]


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()