Added kernel module for starting the usb stack at boot time. It's not activated thoug...
[cake.git] / rom / dos / error.c
blob01756f057b95150d398d290a1286cee065c32da3
1 /*
2 Copyright © 1995-2007, 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(BPTR, Error,
18 /* SYNOPSIS */
20 /* LOCATION */
21 struct DosLibrary *, DOSBase, 142, Dos)
23 /* FUNCTION
24 Returns the current error stream or 0 if there is no current
25 input stream.
27 INPUTS
29 RESULT
30 Error stream handle.
32 NOTES
33 This function is AROS specific
35 EXAMPLE
37 BUGS
39 SEE ALSO
41 INTERNALS
43 *****************************************************************************/
45 AROS_LIBFUNC_INIT
47 /* Get pointer to process structure */
48 struct Process *me=(struct Process *)FindTask(NULL);
50 /* Nothing spectacular */
51 return me->pr_CES;
52 AROS_LIBFUNC_EXIT
53 } /* Input */