Fixed missing fprintf argument.
[AROS.git] / rom / dos / output.c
blob9228dcc43007459c175fe0c3f3a2c39398bf4715
1 /*
2 Copyright © 1995-2001, 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, Output,
18 /* SYNOPSIS */
20 /* LOCATION */
21 struct DosLibrary *, DOSBase, 10, Dos)
23 /* FUNCTION
24 Returns the current output stream or 0 if there is no current
25 output stream.
27 INPUTS
29 RESULT
30 Output stream handle.
32 NOTES
34 EXAMPLE
36 BUGS
38 SEE ALSO
40 INTERNALS
42 *****************************************************************************/
44 AROS_LIBFUNC_INIT
45 AROS_LIBBASE_EXT_DECL(struct DosLibrary *,DOSBase)
47 /* Get pointer to process structure */
48 struct Process *me=(struct Process *)FindTask(NULL);
50 /* Nothing spectacular */
51 return me->pr_COS;
52 AROS_LIBFUNC_EXIT
53 } /* Output */