fd_set_foclose
fd_set_foclose(curlwp, fd, (flag & O_CLOFORK) != 0);
fd_set_foclose(curlwp, *newp, foclose);
fd_set_foclose(curlwp, newfd, (flags & O_CLOFORK) != 0);
fd_set_foclose(l, fd, (tmp & FD_CLOFORK) != 0);
fd_set_foclose(l, fd, (flags & MFD_CLOFORK) != 0);
fd_set_foclose(l, fildes[0], (flags & O_CLOFORK) != 0);
fd_set_foclose(l, fildes[1], (flags & O_CLOFORK) != 0);
fd_set_foclose(l, *fd, (flags & O_CLOFORK) != 0);
fd_set_foclose(l, fd, (flags & SOCK_CLOFORK) != 0);
fd_set_foclose(l, fd, (flags & SOCK_CLOFORK) != 0);
fd_set_foclose(l, fd, (flags & O_CLOFORK) != 0);
fd_set_foclose(l, indx, true);
void fd_set_foclose(struct lwp *, int, bool);