Support rastport clipping rectangle for layerless rastports
[tangerine.git] / rom / dos / ioerr.c
blob615238eefb8b5276c99eb03fbc93b653c94a67e5
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc:
6 Lang: english
7 */
8 #include <proto/exec.h>
9 #include "dos_intern.h"
11 /*****************************************************************************
13 NAME */
14 #include <proto/dos.h>
16 AROS_LH0(LONG, IoErr,
18 /* SYNOPSIS */
20 /* LOCATION */
21 struct DosLibrary *, DOSBase, 22, Dos)
23 /* FUNCTION
24 Get the dos error code for the current process.
26 INPUTS
28 RESULT
29 Error code.
31 NOTES
33 EXAMPLE
35 BUGS
37 SEE ALSO
39 INTERNALS
41 *****************************************************************************/
43 AROS_LIBFUNC_INIT
44 AROS_LIBBASE_EXT_DECL(struct DosLibrary *,DOSBase)
46 /* Get pointer to process structure */
47 struct Process *me=(struct Process *)FindTask(NULL);
49 /* Nothing spectacular */
50 return me->pr_Result2;
51 AROS_LIBFUNC_EXIT
52 } /* IoErr */