Unbuffered I/O in ANSI C
问题 For the sake of education, and programming practice, I'd like to write a simple library that can handle raw keyboard input, and output to the terminal in 'real time'. I'd like to stick with ansi C as much as possible, I just have no idea where to start something like this. I've done several google searches, and 99% of the results use libraries, or are for C++. I'd really like to get it working in windows, then port it to OSX when I have the time. 回答1: Sticking with Standard C as much as