x11gfx.hidd: support 32 bit modes
[AROS.git] / compiler / alib / erroroutput.c
bloba0c30c5657391306fd35e7b7247ba93dba5c58d5
1 /*
2 Copyright © 1995-2011, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc:
6 Lang: english
7 */
9 #include <dos/dosextens.h>
10 #include <proto/exec.h>
12 /*****************************************************************************
14 NAME */
15 #include <proto/alib.h>
17 BPTR ErrorOutput(
19 /* SYNOPSIS */
20 void)
22 /* FUNCTION
23 Returns the current error stream or 0 if there is no current
24 input stream.
26 INPUTS
28 RESULT
29 Error stream handle.
31 NOTES
32 This function is source-compatible with AmigaOS v4.
34 EXAMPLE
36 BUGS
38 SEE ALSO
40 INTERNALS
42 *****************************************************************************/
44 /* Get pointer to process structure */
45 struct Process *me=(struct Process *)FindTask(NULL);
47 /* Nothing spectacular */
48 return me->pr_CES;