diff options
author | Lennart Poettering <lennart@poettering.net> | 2008-12-21 13:33:32 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2008-12-21 13:33:32 +0100 |
commit | 10cc4ba1ca53b56b58f4f04b4c5d49fa4e2b22dc (patch) | |
tree | 90cfc4284152ec67f26c07b1f2ea794cead2f356 /src/tests | |
parent | 63fc26ed034846a8d2189e5cc2fe890ce3b4c7b3 (diff) |
Use FIONREAD instead of TIOCINQ
On Linux the two ioctls FIONREAD and TIOCINQ share the same number.
However TIOCINQ is used for terminals while FIONREAD is used (among
others) for sockets and pipes. Hence use FIONREAD here since it seems
more appropriate.
Diffstat (limited to 'src/tests')
0 files changed, 0 insertions, 0 deletions