1.1 --- a/lib/native.py Thu Dec 08 23:36:43 2016 +0100
1.2 +++ b/lib/native.py Thu Dec 08 23:50:56 2016 +0100
1.3 @@ -100,16 +100,18 @@
1.4
1.5 # Input/output.
1.6
1.7 +def _fclose(fp): IOError
1.8 def _fopen(filename, mode): IOError
1.9 def _fdopen(fd, mode): IOError
1.10 +def _close(fd): IOError
1.11 def _read(fd, n): IOError
1.12 -def _write(fd, str): pass
1.13 +def _write(fd, str): IOError
1.14
1.15 -def _fread(fd, n):
1.16 +def _fread(fp, n):
1.17 IOError
1.18 EOFError
1.19
1.20 -def _fwrite(fd, str):
1.21 +def _fwrite(fp, str):
1.22 IOError
1.23 EOFError
1.24