source: trunk/libs/newlib/src/libgloss/microblaze/linux-inbyte.c @ 586

Last change on this file since 586 was 444, checked in by satin@…, 7 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 65 bytes
Line 
1int inbyte(void)
2{
3        char ch = 0;
4        read(0, &ch, 1);
5        return ch;
6}
Note: See TracBrowser for help on using the repository browser.