Here are some tests for the io.h API that should go in t/src/io.t.

Maybe some of the expected results are debatable.

Should PIO_parse_open_flags think that "<<<<<<<<<" is the same as "<"?

Should PIO_fdopen open ok on stdout with invalid flags like ";-)" or ""?

Also, successive calls to PIO_seek with SEEK_CUR seem to be broken.

Mike

Attachment: io.t
Description: application/text

Reply via email to