This is the main in test1.c:
int main(int argc, char *argv[]) { int fd1,i, *foo; pid_t childpid; mkfifo("myfifo1", 0777); foo = malloc(10*s