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


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