2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
8 #include <proto/exec.h>
9 #include "dos_intern.h"
11 /*****************************************************************************
14 #include <proto/dos.h>
21 struct DosLibrary
*, DOSBase
, 22, Dos
)
24 Get the dos error code for the current process.
41 *****************************************************************************/
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
;