Added very useful and convenient macro for parsing attribute IDs
[AROS.git] / compiler / alib / erroroutput.c
blob385bce7822a3c2375f0b7fb51cefc7b3f2c75592
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;