JuliaLang/julia — pull request #3872 by stevengj (2013-07-29 19:23:02+00:00)
Title: add more isreadable/iswriteable/isreadonly functions

We already export these functions, this just adds definitions for more stream types.

(It would be nice to add them for `File` objects too, but that seems like it requires one to modify libuv to add a new function that calls `fcntl(fd, F_GETFL)` or the Windows equivalent thereof.)