non_blocking_read for linux To compile you have to install gcc. Then just type: gcc non_blocking_read.c -o non