So lots of unix old-timers think stdio is unsuitable for interactive & async apps due to blocking, but there's an easy solution. Thread.
2
10
28
Maybe joke went over head, but to answer anyway, there's no nonblocking way to use stdio.
1
2
if you mean ANSI FILEβˆ— streams then I suppose not. But then again there's no threads in ANSI C either.
1
There are threads in ISO C 11
2
1
Replying to @fanf @RichFelker
Blech blech blech (though my statement holds)

Sep 12, 2017 Β· 8:30 AM UTC