kripken/emscripten — pull request #1240 by feeley (2013-06-04 04:01:20+00:00)
Title: Add basic support for nonblocking read

This will allow nonblocking devices to tell "read" there are no bytes available to be read currently, by having their "input" function return "undefined".