Projet_SETI_RISC-V/riscv-gnu-toolchain/newlib/libgloss/microblaze/linux-inbyte.c
2023-03-06 14:48:14 +01:00

6 lines
65 B
C

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