fdallocn
if ((error = fdallocn(td, 0, fdp, newfds))) {
int fdallocn(struct thread *td, int minfd, int *fds, int n);