newlib-cygwin/libgloss/microblaze/linux-inbyte.c

9 lines
102 B
C

extern int read (int, char *, int);
int inbyte(void)
{
char ch = 0;
read(0, &ch, 1);
return ch;
}