int fct() { char *c; c = malloc(2); read(0, c, 1); putchar(c[0]); } int main() { int i = 4; while (i) { fct(); i--; } }