beginnings of the io library

This commit is contained in:
leitner
2003-09-02 00:14:04 +00:00
parent c845e84c37
commit 49818590ee
20 changed files with 376 additions and 6 deletions

View File

@@ -9,5 +9,10 @@ main() {
array_cat(&x,&y);
array_fail(&y);
array_cat(&y,&x);
assert(array_failed(&y));
array_reset(&y);
array_cats(&y,"fnord");
assert(byte_equal(x.p,11,"fnordfoobar"));
array_cate(&x,&y,1,4);
assert(x.initialized=14 && byte_equal(x.p,14,"fnordfoobarnor"));
}