fdfree
fdfree(p, fds);
fdfree(p, NULL);
fdfree(p1, fdtmp);
fdfree(p1, newfd);
void fdfree (struct proc *p, struct filedesc *repl);