--- libaitio/example/test_exec.c 2013/12/05 16:02:02 1.1.2.4 +++ libaitio/example/test_exec.c 2013/12/05 17:12:16 1.1.2.6 @@ -30,6 +30,19 @@ main(int argc, char **argv) goto end; } + printf("last=%d\n", array_Last(p->prog_fds)); + + ret = io_progGrow(p, 8); + printf("+grow_progs=%d\n", ret); + + printf("wait for keystroke %p ", p); + getchar(); + + ret = io_progVacuum(p, 5); + printf("+vacuum_progs=%d\n", ret); + + printf("wait for keystroke %p ", p); + getchar(); end: io_progDestroy(&p); return ret;