summaryrefslogtreecommitdiffstats
path: root/src/utils
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-12-21 13:33:32 +0100
committerLennart Poettering <lennart@poettering.net>2009-01-12 20:28:56 +0100
commite4cc38055fb2b5408125eb6adc99d572098f1336 (patch)
tree403596b450b868f87e5e4cd66d90a9edd97e3064 /src/utils
parent6c2c7a5d4205be10ff1b033c47647b73287a9022 (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/utils')
0 files changed, 0 insertions, 0 deletions