Projet_SETI_RISC-V/riscv-gnu-toolchain/newlib/libgloss/microblaze/linux-inbyte.c

7 lines
65 B
C
Raw Permalink Normal View History

2023-03-06 14:48:14 +01:00
int inbyte(void)
{
char ch = 0;
read(0, &ch, 1);
return ch;
}