3 ms·A frugal way to check for pending terminal input in a tight loop (C99, UNIX(R)) 2 points by signa11 16y ago