2 Copyright © 1995-2007, 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 *****************************************************************************/
45 /* Get pointer to process structure */
46 struct Process
*me
=(struct Process
*)FindTask(NULL
);
48 /* Nothing spectacular */
49 return me
->pr_Result2
;