Replaced Popscren with a custom pop-up list for selecting public screen. Now it conta...
[tangerine.git] / compiler / clib / getchar.c
blob16f3c671c8eb67edb8ff618e01a6d8f916c7b1cc
1 /*
2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
3 $Id$
5 ANSI C function getchar().
6 */
8 #include <errno.h>
9 #include <dos/dos.h>
10 #include <dos/dosextens.h>
11 #include <proto/exec.h>
12 #include <proto/dos.h>
13 #include "__errno.h"
14 #include "__open.h"
16 #include <stdio.h>
17 #undef getchar
19 /*****************************************************************************
21 NAME */
22 #include <stdio.h>
24 int getchar (void)
26 /* SYNOPSIS */
28 /* FUNCTION
29 Read one character from the standard input stream. If there
30 is no character available or an error occurred, the function
31 returns EOF.
33 INPUTS
35 RESULT
36 The character read or EOF on end of file or error.
38 NOTES
40 EXAMPLE
42 BUGS
44 SEE ALSO
45 fgetc(), getc(), fputc(), putc()
47 INTERNALS
49 ******************************************************************************/
51 return getc(stdin);
52 } /* getc */