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

7 lines
65 B
C

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