/* * (c) 2004 Herbert Poetzl * * open ptmx/pts * * V0.1 basic options * */ #include #include #include #include int main(int argc, char *argv[]) { char sname[32]; int master, slave; int ret, time = 60; int i, count = 1; if (argc > 1) count = atol(argv[1]); for (i=0; i 2) time = atol(argv[2]); sleep(time); exit(0); }