2000-05-28 13:40:48 +00:00
|
|
|
/*
|
|
|
|
* getchar.c
|
|
|
|
*
|
|
|
|
* Ullrich von Bassewitz, 11.12.1998
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include <stdio.h>
|
2013-05-09 11:56:54 +00:00
|
|
|
#undef getchar /* This is usually declared as a macro */
|
2000-05-28 13:40:48 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2003-11-06 18:04:07 +00:00
|
|
|
/*****************************************************************************/
|
2013-05-09 11:56:54 +00:00
|
|
|
/* Code */
|
2003-11-06 18:04:07 +00:00
|
|
|
/*****************************************************************************/
|
2000-05-28 13:40:48 +00:00
|
|
|
|
2003-11-06 18:04:07 +00:00
|
|
|
|
|
|
|
|
2011-07-07 20:19:35 +00:00
|
|
|
int getchar (void)
|
2000-05-28 13:40:48 +00:00
|
|
|
{
|
|
|
|
return fgetc (stdin);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|