2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
5 C99 function getchar().
7 #include <libraries/stdcio.h>
9 #define _STDIO_H_NOMACRO
11 /*****************************************************************************
21 Read one character from the standard input stream. If there
22 is no character available or an error occurred, the function
28 The character read or EOF on end of file or error.
37 fgetc(), getc(), fputc(), putc()
41 ******************************************************************************/
43 struct StdCIOBase
*StdCIOBase
= __aros_getbase_StdCIOBase();
45 return fgetc(StdCIOBase
->_stdin
);