-USING: alien.c-types alien.data io io.encodings.ascii io.files
-io.pathnames io.streams.c kernel math specialized-arrays
+USING: alien alien.c-types alien.data debugger io io.encodings.ascii
+io.files io.pathnames io.streams.c kernel math specialized-arrays
strings tools.test ;
SPECIALIZED-ARRAY: int
] with-test-directory
+
+[ 3 10 99 <alien> fseek ] [ vm-error? ] must-fail-with
whence = SEEK_END;
break;
default:
- critical_error("Bad value for whence", whence);
+ general_error(ERROR_IO, tag_fixnum(EINVAL), false_object);
}
for (;;) {