Docs » Autodocs » dos.library » PrintFault
PrintFault -- Returns the text associated with a DOS error code (V36)
success = PrintFault(code, header) D0 D1 D2 BOOL PrintFault(LONG, STRPTR)
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.
code - Error code header - header to output before error text
success - Success/failure code.
IoErr(), Fault(), SetIoErr(), Output(), FPuts()
|