fix config file path
[AROS.git] / compiler / clib / getchar.c
blob54c77089a6f112815016d3fac93e6d02c553336d
1 /*
2 Copyright © 1995-2012, The AROS Development Team. All rights reserved.
3 $Id$
5 C99 function getchar().
6 */
8 #include <dos/dos.h>
9 #include <dos/dosextens.h>
10 #include <proto/exec.h>
11 #include <proto/dos.h>
12 #include "__fdesc.h"
14 #define _STDIO_H_NOMACRO
15 #include <stdio.h>
17 /*****************************************************************************
19 NAME */
20 #include <stdio.h>
22 int getchar (void)
24 /* SYNOPSIS */
26 /* FUNCTION
27 Read one character from the standard input stream. If there
28 is no character available or an error occurred, the function
29 returns EOF.
31 INPUTS
33 RESULT
34 The character read or EOF on end of file or error.
36 NOTES
38 EXAMPLE
40 BUGS
42 SEE ALSO
43 fgetc(), getc(), fputc(), putc()
45 INTERNALS
47 ******************************************************************************/
49 return fgetc(stdin);
50 } /* getc */