add fork.c and open.c