add return statement on dup_fd.c