kern_pdwait
error = kern_pdwait(td, uap->fd, &status, uap->options, wrup, sip);
int kern_pdwait(struct thread *td, int fd, int *status,