New answers tagged

4 votes
Accepted

Why does `read` fail saying "read error: 0: Resource temporarily unavailable"?

What happens is that one of your SoX programs (sox, play, rec) has changed how stdin is behaving, making it non-blocking. Typically, something is calling fcntl(0, F_SETFL, O_NONBLOCK). When a call to ...
xhienne's user avatar
  • 17.6k

Top 50 recent answers are included