1.1 --- a/lib/sys.py Tue Dec 06 22:30:20 2016 +0100
1.2 +++ b/lib/sys.py Tue Dec 06 22:39:23 2016 +0100
1.3 @@ -20,14 +20,14 @@
1.4 """
1.5
1.6 from __builtins__.int import maxint, minint
1.7 -from posix.io import sysfile
1.8 +from posix.io import sysstream
1.9 import native
1.10
1.11 # Standard streams.
1.12
1.13 -stdin = sysfile(0)
1.14 -stdout = sysfile(1)
1.15 -stderr = sysfile(2)
1.16 +stdin = sysstream(0)
1.17 +stdout = sysstream(1, "w")
1.18 +stderr = sysstream(2, "w")
1.19
1.20 # NOTE: Environment details to be implemented.
1.21