On Tue, Aug 22, 2006 at 11:54:52AM -0700, Frank Cusack wrote:
> On August 16, 2006 2:44:43 PM -0700 Carson Gaspar wrote:
> > You learn something new every day... Solaris 10 also has closefrom() and
> > fdwalk() (which performs an arbitrary function on all open fds, allowing
> > you to check the return code from each close, unlike closefrom()).

> Also Solaris 9. First documentation I can find for it is from Dec '02,
> but that document is dated Apr '00. It might have been a private
> interface before 12/02, or online docs are missing info before then
> (they do seem to be sparse). In any case the point is, this isn't new
> to Solaris 10.

I believe they originated in Solaris 9.

According to our survey data, the platforms that have closefrom() are:


Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
openssh-unix-dev mailing list