lib/posix/io.py | raw changeset files shortlog |
1.1 --- a/lib/posix/io.py Tue Dec 06 22:39:23 2016 +0100 1.2 +++ b/lib/posix/io.py Tue Dec 06 22:58:16 2016 +0100 1.3 @@ -71,6 +71,12 @@ 1.4 _check_string(s) 1.5 native._fwrite(self.__data__, s) 1.6 1.7 +# Standard streams. 1.8 + 1.9 +stdin = sysstream(0) 1.10 +stdout = sysstream(1, "w") 1.11 +stderr = sysstream(2, "w") 1.12 + 1.13 # Input/output functions. 1.14 1.15 def close(fd): pass