--TEST-- Stream: RFC2397 and seeking --FILE-- ===DONE=== --EXPECTF-- ===data:,012345=== int(0) bool(false) ===S:4,S=== int(0) int(4) bool(false) ===GETC=== string(1) "4" int(5) bool(false) ===GETC=== string(1) "5" int(6) bool(true) ===REWIND=== bool(true) int(0) bool(false) ===GETC=== string(1) "0" int(1) bool(false) ===S:3,S=== int(0) int(3) bool(false) ===S:1,C=== int(0) int(4) bool(false) ===S:-2,C=== int(0) int(2) bool(false) ===S:-10,C=== int(-1) bool(false) bool(false) ===S:3,S=== int(0) int(3) bool(false) ===S:10,C=== int(-1) bool(false) bool(false) ===S:-1,E=== int(0) int(5) bool(false) ===S:0,E=== int(0) int(6) bool(false) ===S:1,E=== int(-1) bool(false) bool(false) ===DONE===