revert between 56095 -> 55830 in arch
[AROS.git] / compiler / posixc / __posixc_stdstreams.c
blob610f0f75e84378d17504edad4a2722a2bc4007c6
1 /*
2 Copyright © 2012, 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 posixc.library.
7 */
8 #include <libraries/posixc.h>
10 FILE *__stdio_getstdin(void)
12 return __aros_getbase_PosixCBase()->_stdin;
15 FILE *__stdio_getstdout(void)
17 return __aros_getbase_PosixCBase()->_stdout;
20 FILE *__stdio_getstderr(void)
22 return __aros_getbase_PosixCBase()->_stderr;