Lichen

tests/read.py

335:9e4234566d99
2016-12-06 Paul Boddie Properly fixed the buffer allocation.
     1 from posix.io import read     2      3 try:     4     s = read(3, 10)     5 except IOError, exc:     6     print "read(3, 10): input/output error condition", exc.value     7      8 s = read(0, 10)     9 print s