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>
16 AROS_LH1(BPTR
, SelectError
,
19 AROS_LHA(BPTR
, fh
, D1
),
22 struct DosLibrary
*, DOSBase
, 144, Dos
)
25 Sets the current error stream returned by Error() to a new
26 value. Returns the old error stream.
29 fh - New error stream.
32 Old error stream handle.
35 This function is AROS specific
45 *****************************************************************************/
48 AROS_LIBBASE_EXT_DECL(struct DosLibrary
*,DOSBase
)
52 /* Get pointer to process structure */
53 struct Process
*me
=(struct Process
*)FindTask(NULL
);
55 /* Nothing spectacular */