mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
369267863c
Add a specific case of EOF on stdin to avoid situations where the message `error reading from stdio. res=0` is repeated forever if stdin is not a terminal. When ethos is started as a background process with stdin redirected to /dev/null, e.g. `ethos ... < /dev/null &`, then reading stdin will always result in a 0 length read (EOF). If stdin is a tty we close the program on EOF (CTRL+D in the terminal), otherwise, we stop reading from stdin after EOF was reached, but continue tunneling traffic as usual. |
||
---|---|---|
.. | ||
testbed-support | ||
tools | ||
ar-wrapper | ||
empty.a | ||
gdbinit-docker | ||
Makefile |