start service tasks separately in-case platforms need to perform additional set-up...
[AROS.git] / compiler / stdc / __stdcio_stdstreams.c
blobcdfb932f40dc4e9ff140823577ac751d34f3b374
1 /*
2 Copyright © 2012-2013, The AROS Development Team. All rights reserved.
3 $Id$
5 Get pointer to standard IO streams.
6 These function is both in static linklib as in stdcio.library.
7 */
8 #include <libraries/stdcio.h>
10 #include <stdio.h>
12 FILE *__stdio_getstdin(void)
14 return __aros_getbase_StdCIOBase()->_stdin;
17 FILE *__stdio_getstdout(void)
19 return __aros_getbase_StdCIOBase()->_stdout;
22 FILE *__stdio_getstderr(void)
24 return __aros_getbase_StdCIOBase()->_stderr;