Alan Coopersmith wrote: > Would it make sense to have close_func do > if (fd >= hi) > return 1; /* stop walking */ > else if (fd >= lo) > close(fd); > > in order to more quickly exit the walk when its called from > os.closerange(3, but) ?
That's a good idea. I was thinking about that today, but forgot that all errors are ignored (by the spec), so thought it wouldn't be possible, but I think it would work. Thanks, Danek _______________________________________________ userland-discuss mailing list userland-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/userland-discuss