base: fdReady(): Ensure and doc that return values are always -1/0/1
authorNiklas Hamb├╝chen <mail@nh2.me>
Wed, 27 Sep 2017 19:29:06 +0000 (15:29 -0400)
committerBen Gamari <ben@smart-cactus.org>
Wed, 27 Sep 2017 21:37:29 +0000 (17:37 -0400)
commit03009aa70a099867331afb9876333c687454c5d5
treefd181c2e66000da96e89c3f822387c15556ec2f5
parentdddef3114246fcd79bf0993d685454802983111b
base: fdReady(): Ensure and doc that return values are always -1/0/1

Reviewers: bgamari, austin, hvr, Phyx

Reviewed By: Phyx

Subscribers: Phyx, rwbarton, thomie

Differential Revision: https://phabricator.haskell.org/D4010
libraries/base/cbits/inputReady.c