build fd files in the directory specified in the config.
[AROS.git] / compiler / posixc / putchar.c
blob7c71052f3cb451b9b73fb73ef8edcb353a884d88
1 /*
2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
3 $Id$
5 C99 function putchar()
6 */
8 #include <libraries/posixc.h>
10 #define DEBUG 0
11 #include <aros/debug.h>
13 /*****************************************************************************
15 NAME */
17 #include <stdio.h>
19 int putchar(
21 /* SYNOPSIS */
22 int c)
24 /* FUNCTION
26 INPUTS
28 RESULT
30 NOTES
32 EXAMPLE
34 BUGS
36 SEE ALSO
38 INTERNALS
40 ******************************************************************************/
42 struct PosixCBase *PosixCBase = __aros_getbase_PosixCBase();
44 D(bug("[putchar]PosixCBase: %p, stdout: %p\n", PosixCBase, PosixCBase->_stdout));
46 return fputc(c, PosixCBase->_stdout);